Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Attach .sql file to jdbc connection? any APIs?
Hi,
Suppose my java program establishes a jdbc connection to an Oracle 9.2 DB using the oracle jdbc driver.
What is the easiest way to pull a .sql file in from the file system and try to run the commands resident within it?
I'm sure I could brute-force my way through this problem but before I do that, I'd like to know if any APIs exist which do some dirty work for me.
-May Nine Received on Sat May 31 2003 - 17:21:25 CDT