Apache Derby supports natively script delimiters?

Posted by Steel Plume on Stack Overflow See other posts from Stack Overflow or by Steel Plume
Published on 2010-04-03T16:52:21Z Indexed on 2010/04/03 16:53 UTC
Read the original article Hit count: 397

Filed under:
|
|

Hello, I know that I could separate all statements by pre-cutting before their execution, but I have a case in which I would like to insert a series of statements in one execution, currently I receive the following error:

Caused by: java.sql.SQLException: Syntax Error: Encountered ";" at line 2, column 33.
    at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
    at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source)
    ... 17 more
Caused by: ERROR 42X01: Syntax Error: Encountered ";" at line 2, column 33.

Also do you know also if Derby supports conditional statements like that in pgsql case when else?

Thanks

© Stack Overflow or respective owner

Related posts about java

Related posts about derby