yves42
15 years agoOccasional Contributor
[Groovy] Connect as sysdba
Hello everybody,
I would like open a connection in a database as sysdba.
I have the ORA-00900 error 'Sql instruction not valid'.
The command works in sqlplus and the def is valid (I tried an other request).
Regards,
Yves.
I would like open a connection in a database as sysdba.
def sql = Sql.newInstance("jdbc:oracle:thin:LOGIN/MDP@instance", "oracle.jdbc.driver.OracleDriver")
sql.execute("CONNECT SYS/MDP@instance as sysdba");
I have the ORA-00900 error 'Sql instruction not valid'.
The command works in sqlplus and the def is valid (I tried an other request).
Regards,
Yves.