Answers for "txt file to import into a 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 "txt file to import into a database"

Browse Popular Code Answers by Language