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
How do I do it?
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
|• Execute Sql File through Java||Amit Lonkar||10 Dec|