InterviewSolution
Saved Bookmarks
| 1. |
To execute the contents of a query file ‘exec.sql’ by feeding it to mysql, which command is used?(a) mysql exec.sql > sampdb(b) mysql sampdb < exec.sql(c) mysql exec.sql(d) mysql execThis question was addressed to me by my school principal while I was bunking the class.I'm obligated to ask this question of Interacting with MySQL in portion General MySQL Use of MySQL |
|
Answer» RIGHT choice is (B) mysql sampdb < exec.sql The best I can EXPLAIN: mysql QUERIES can be run after placing the queries in a file, and then executing it by feeding it to mysql. By default, mysql PRINTS output in a tab-delimited format when it is running in noninteractive mode. |
|