This content has been marked as final.
Show 4 replies
-
1. Re: Running anonymous procedure blocks from JDBC Client
shawkins Feb 17, 2014 8:02 AM (in response to sanjeev.gour)Just make sure you are targeting an appropriate server version. You'll need 8.5 or later.
Steve
-
2. Re: Running anonymous procedure blocks from JDBC Client
sanjeev.gour Feb 18, 2014 5:11 AM (in response to shawkins)The version looks correct, I have verified it against both 8.5 and 8.6. I get the same error with both the versions.
-
3. Re: Running anonymous procedure blocks from JDBC Client
shawkins Feb 18, 2014 7:18 AM (in response to sanjeev.gour)From the error message it appears that SQuirrel is to blame. It must be preprocessing the sql and assuming that it's two statements separated by ;. There may be other workarounds, but you can try changing or removing the SQuirrel Session SQL property for the statement separator.
Steve
-
4. Re: Running anonymous procedure blocks from JDBC Client
sanjeev.gour Feb 18, 2014 9:40 AM (in response to shawkins)That was the problem, I changed it to semi-colon for that session and it works now .
Thank you, Steve.