Comments in SQL Statments or SQL Script File and JDBC
mvekslerJan 16 2006 — edited Jan 17 2006I am using JDBC to execute SQL script file.
What I have in the SQL Script file is bunch of SQL Statements; some create tables, others create packages with functions etc.
The SQL Script files have bunch of comments.
In JDBC I use CollableStatment and then I call prepareCall and execute.
I get SQL Errors and Warnings.
The SQL Script files work just fine if I execute them in third parties APPs like TOAD or something like that.
I know it has been asked for many times.
However, I could not find any definite answer.
Dos anyone know a way or methods I need to sue to execute SQL Statement that for example creates package and contains comments in the SQL.