This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes Loading queries from text file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Loading queries from text file" Watch "Loading queries from text file" New topic

Loading queries from text file

Nick Ueda
Ranch Hand

Joined: Jun 17, 2003
Posts: 40
Hello All!
How do I load queries from a text file in mySQL?
Nick Ueda
EDIT: After this post I found the answer quite easily...
at mysql> prompt
type: source <filename>
that's all,
[ August 10, 2003: Message edited by: Nick Ueda ]
subject: Loading queries from text file
It's not a secret anymore!