How to load data from a text file into a table?
Answer Posted / tushar
To load the text file pet.txt into the pet table, use this statement:
mysql> LOAD DATA LOCAL INFILE '/path/pet.txt' INTO TABLE pet;
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is the difference between sql and mysql and oracle?
Restore database (or database table) from backup.
How many sql dml commands are supported by 'mysql'?
What is the insert?
What is int mysql?
What are the common mysql functions?
Explain Access Control Lists.
What is difference between mysql and mysqli?
What is data node in mysql cluster?
How to add a new column to an existing table in mysql?
Is mysql a database?
What is the maximum number of columns per table?
Is mysql a server or database?
How to shutdown mysql server?
What is text?