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

Import multiple CSV files - alternative???

$
0
0

I have tried the following methods for importing .csv files to SQL Server:

SSIS - flat file source to destination

Bulk Insert (SSIS)

Bulk Insert (TSQL) using xp_dirtree and format file (bcp)

Although with these methods, most records are imported, records are always missing!

Some records of my csv files contain quotations "" which I have read causes problemS with Bulk Insert.

I have run out of ideas although I have read also that I could read all data into a single column and then process using a script or stored proc.

Can anyone confirm this or recommend an alternative?

Help appreciated.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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