aspose file tools*
The moose likes JDBC and the fly likes Directly run SQL Script file using JDBC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Directly run SQL Script file using JDBC" Watch "Directly run SQL Script file using JDBC" New topic
Author

Directly run SQL Script file using JDBC

L Goundalkar
Ranch Hand

Joined: Jul 05, 2001
Posts: 395
Hi,

Is there anyway I can run .sql script file ( which is present in my application directory ) directly using JDBC API on to Oracle Database without manually running the sql file in SQL * Plus tool.

Cheers.


SCJP, SCWCD
Avi Abrami
Ranch Hand

Joined: Oct 11, 2000
Posts: 1135

Hi LG,
Did you not search the other posts in this forum?
Did you not see this one:
http://www.coderanch.com/t/298527/JDBC/java/executing-PL-SQL-through-JDBC
Does it not help you?
Good Luck,
Avi.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Directly run SQL Script file using JDBC