01-07-2010, 02:19 PM
Hello All,
I am connecting to DB and trying to execute statement:
Please note that this is not a SELECT statement.
I am getting error message that SQL statement is invalid, though I can successfully execute same statement in SQL Plus. Can you please advise me proper syntax how to execute this statement and after that commit changes to DB with code sample?
I am connecting to DB and trying to execute statement:
Code:
strQuery = "exec STATEMENT"
Please note that this is not a SELECT statement.
I am getting error message that SQL statement is invalid, though I can successfully execute same statement in SQL Plus. Can you please advise me proper syntax how to execute this statement and after that commit changes to DB with code sample?