Skip to Main Content

Java Database Connectivity (JDBC)

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!

How to parse a SQL Script file

800344Mar 7 2005 — edited Mar 8 2005
Dear all,
I would like to write a SQL excutor which extracts SQL statements from a SQL Script file, and then excutes them.
It seems very hard to parse any SQL script file which can be run by SQL plus.
My problem is that what kind of format that I should impose to the SQL script file so that the parsing can be simply implemented.
I would appreciate any idea to this end.
Pengyou
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 5 2005
Added on Mar 7 2005
15 comments
1,749 views