BULK INSERT problem in mysql
Posted
by kartiku
on Stack Overflow
See other posts from Stack Overflow
or by kartiku
Published on 2010-05-15T03:38:01Z
Indexed on
2010/05/15
3:44 UTC
Read the original article
Hit count: 395
Hi, I get an error with the following sql command for bulk insert....any help would be appreciated.
BULK INSERT libra.faculty
FROM 'd\:faculty.csv'
WITH
(
FIELDTERMINATOR = ',',
ROWTERMINATOR = '\n'
);
Here's the error message
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'BULK INSERT libra.faculty FROM 'd:\faculty.csv' WITH ( FIELDTERMINATOR = ',', RO' at line 1
© Stack Overflow or respective owner