Every month I export a Webpage(HTML) file from one of our
vendors, convert to .xlxs, perform some minor column data formatting,
convert to a text pipe delimited file to import into SQL for reporting.
This month my bulk insert failed on every row even though the
data looked 100% the same (side b=y side last months sucessful import and this months failed import) so I startedlooking intowhitespace, tried
thetrim and clean andonly running the following on
eachcolumn that contained a a date,time or comma seemed to work.
--=TRIM(CLEAN(SUBSTITUTE(A1,CHAR(160)," ")))
The firsttimeI was working through itit
appeared the issue was only in the date/time columns and the data imported into
my table. After the fact while running into somenull results when I knew
there should be I noticed the named fields were showing up with "a`"
characters after each of the...