Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Bulk Insert Row Terminator issues

$
0
0

Hello,

I have a CSV file that I am trying to bulk load into a temp table. The data in the file is all jumbled together, as in, there does not appear to be a row terminator. However, I do see a bunch of little rectangular boxes that I assume are the row terminators. When I run the bulk insert, the data is treated as one string. For example... If I have 10 columns in the table, the 10 columns will be populated, but the remainder of the data is dumped into the last column.

The guy who produced these files is claiming that I am doing something wrong, which I don't believe.

Here are the row terminators I have used so far that haven't worked. \r, \r\n, \n, \n\r, CR\LF, \n

Any help would be appreciated...

Dave


Dave SQL Developer

Viewing all articles
Browse latest Browse all 23857

Trending Articles



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