SQL statements and batch updates

The following commands cannot be put into multistatement PREPARE statements:
  • SELECT (except SELECT INTO TEMP) statement
  • DATABASE statements
  • CONNECTION statements

For more details, see HCL OneDB™ Guide to SQL: Syntax.