16.20 - SPL1066: "%s:E(L%d), Transaction control statements BT, ET are not allowed in ANSI mode." - Teradata Vantage NewSQL Engine

Teradata® Vantage - Database Stored Procedure Compilation (SPL Prefix) Messages

prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
Programming Reference
featnum
B035-1096-162K

SPL1066: "%s:E(L%d), Transaction control statements BT, ET are not allowed in ANSI mode."

Explanation:

If a stored procedure is created in ANSI mode, the Teradata (BTET) mode-specific transaction control statements, BEGIN TRANSACTION (BT) and END TRANSACTION (ET), cannot be specified in the SPL source text.

Generated By:

TSP module.

For Whom:

End user.

Remedy:

Remove the Teradata mode-specific transaction control statements or change the session mode to BTET before creating the procedure.