Quantcast
Channel: MySQL Forums - Microsoft SQL Server
Viewing all articles
Browse latest Browse all 686

data load (no replies)

$
0
0
Hi I am loading a text file from sql using the command below.

LOAD DATA INFILE '//server//folder//arch_order_header.txt'
INTO TABLE arch_order_header
FIELDS TERMINATED BY ','
LINES TERMINATED BY '\r\n' ;


As the import works through the data, it's quite large. I keep hitting this issue. When the field contains a \ somehow it see's it as delimitter and pushs the next columns along one

why?? how can I stop this I am already using replace to catch unwanted ,

thanks

Viewing all articles
Browse latest Browse all 686

Trending Articles