Answers for "how to import text file into database"

1

how to import text file into database

LOAD DATA LOCAL INFILE '/tmp/foo.txt' INTO TABLE foo
FIELDS TERMINATED BY '\t' LINES TERMINATED BY '\n'
(@col1,@col2,@col3) set myid=@col1,mydecimal=@col3;
Posted by: Guest on December-09-2020

Code answers related to "how to import text file into database"

Browse Popular Code Answers by Language