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
| Thread |
|---|
| • Execute Sql File through Java | Amit Lonkar | 10 Dec |