15.00 - 3932 Only an ET or null statement is legal after a DDL Statement. - Teradata Database

Teradata Database Messages

Product
Teradata Database
Release Number
15.00
Content Type
Programming Reference
Publication ID
B035-1096-015K
Language
English (United States)

3932 Only an ET or null statement is legal after a DDL Statement.

Explanation:

A DDL statement was issued previously. By our current rules, the only time that a DDL statement can be issued inside an explicit transaction is when it is the last statement in that Transaction. In an explicit transaction, the only statements allowed after a DDL statement are an END TRANSACTION , an unconditional ABORT, or a NULL statement.

Generated By:

RES modules.

For Whom:

End User.

Remedy:

Either do the DDL statement as a single statement transaction, or commit the containing transaction immediately after the DDL statement.