Re: load csv file with SSIS -
05-27-2008
, 07:57 AM
Hi Aki,
Do you need the first 2 lines? I'm assuming they contain some kind of
header information, and not actual data that has missing values?
If this is the case, you should be able to set your file connection to
ignore the first 2 lines of every file (with the skip header rows
property).
If these rows contain actual data, you will have to adjust your
package to handle ragged right file formats (google it, there should
be lots of hits). Or you could write a simple script task to add the
missing ","'s to the first two rows that would allow SSIS to detect
the missing columns as NULL's.
Good luck!
J |