Answers for "load a text file into a database to query"

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 "load a text file into a database to query"

Browse Popular Code Answers by Language