Thread
:
to load data from a csv file
View Single Post
#
4
(
permalink
)
01-09-2008, 10:56 AM
tprabhuit
Junior Member
Join Date: Dec 2007
Location: Coimbatore
Posts: 16
Hi,
I think this will be useful for you..
LOAD DATA LOCAL INFILE <FILE NAME WITH LOCATION>
INTO TABLE <TABLENAME>
FIELDS TERMINATED BY ','
LINES TERMINATED BY '\n'
(FIELD1, FIELD2, FIELD3, ... FIELDn);
Regards,
Prabhu.T
tprabhuit
View Public Profile
Send a private message to tprabhuit
Find all posts by tprabhuit