Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Problem importing data from files with differing number of columns

$
0
0

Hi, I have a package which used to import data into a table from a .csv with 37 columns which worked fine, now 2 extra fields have been added to the table and now some files have 37 columns some 39 I need to import data from the.csv files with 37 columns without the 'cntrl+f' at row end being seen as a value for the 38th or 39th column. Some how I need to add 2 columns with null value when ever the file being imported from has only 37 columns. 

Is this possible? if it is could someone point me to examples or tutorial.

found this question but the link errors

http://social.msdn.microsoft.com/Forums/sqlserver/en-US/ba6d19fb-ec77-468a-ae16-679969ecf1bb/importing-text-files-with-different-number-of-columns


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>