List:General Discussion« Previous MessageNext Message »
From:Amit Lonkar Date:December 10 2002 8:50am
Subject:Execute Sql File through Java
View as plain text  
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 JavaAmit Lonkar10 Dec