Hi all!!

I want to Execute an SQL file say c:/Exec.sql through
Java. Hence I need to execute the Mysql command
"source c:/Exec.sql". I tried to run the command using
the executeQuery(String sql)function of the Statement
Interface, but it generates SQLException as Syntax
Error.
How do I do it?

Thanks
Amit Lonkar

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to