
October 5th, 1999, 02:08 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
I found something very similar to work, but had to include LOCAL in the SQL statement if the file was not directly on the MySQL server. My text file was tab delimited so I apparently did not need to specify the delimiter. SQL I used was like:
LOAD DATA LOCAL INFILE '/home/www/textfile.txt' INTO TABLE tablename
|