Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes JDBC 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
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Loading queries from text file" Watch "Loading queries from text file" New topic
Author

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?
Thanks,
Nick Ueda
EDIT: After this post I found the answer quite easily...
at mysql> prompt
type: source <filename>
that's all,
Nick
[ August 10, 2003: Message edited by: Nick Ueda ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Loading queries from text file