Home Forums Data Warehousing Data Transformation Services (DTS) problem with import data to sql server from csv files RE: problem with import data to sql server from csv files
oldgoat
SSCrazy
Points: 2344
More actions
January 19, 2005 at 8:12 am
#538089
number of columns = expected number of commas + 1
something like a while loop would allow you to iterate with charindex to a point after the last #expected#, then a single charindex finds/doesn't find the extra.