Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Execute .sql file using JDBC

843785Nov 11 2008 — edited Nov 12 2008
I have a .sql file which contains a SELECT query and spools the ouput into a .txt file.

The problem is, I have some formatting queries like SET LINESIZE 500 etc.

How do I execute the .SQL file
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 10 2008
Added on Nov 11 2008
14 comments
4,450 views