Was this helpful?
SQL Statement Restrictions
Ingres DTP applications must not issue the following statements in any context: embedded SQL, dynamic SQL, or database procedures (including procedures fired by rules).
Statement
Description
CALL subsystem
Restricted because a call to an Ingres tool might violate transaction semantics. (However, if your TP software permits forking of processes, your application can issue the CALL SYSTEM statement. Call system performs a temporary exit to the operating system.)
COMMIT
Restricted because the transaction manager handles transaction commits.
CONNECT and DISCONNECT
Restricted because connections to databases are replaced by Transaction Processing software vendor‑supplied server initialization and shutdown routines.
PREPARE TO COMMIT
Restricted because the transaction manager coordinates two-phase commit.
ROLLBACK
Restricted because the transaction manager handles transaction commits. (However, your application can issue the ROLLBACK TO savepoint statement.)
SET AUTOCOMMIT
Restricted because the transaction manager handles transaction commits.
SEQ_SQL (SESSION)
Use SET CONNECTION instead.
In Ingres DTP applications, the preceding statements cause run-time errors. If the Ingres DTP application executes a database procedure that contains one of these restricted statements, the offending global transaction is rolled back.
Note:  The following obsolete Ingres SQL statements are also restricted. Do not use these statements in your application: BEGIN TRANSACTION, END TRANSACTION, ABORT.
Last modified date: 08/14/2024