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

Stored Procedure Compilation (SPL Prefix) Messages

Product
Teradata Database
Release Number
16.10
Language
English (United States)
Last Update
2018-10-22
dita:id
B035-1096-SPL
lifecycle
archive
Product Category
Teradata® Database

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.