15.00 - 3722 Only a COMMIT WORK or null statement is legal after a DDL Statement. - Teradata Database

Teradata Database Messages

Product
Teradata Database
Release Number
15.00
Language
English (United States)
Last Update
2018-09-24

3722 Only a COMMIT WORK 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 is when it is the last statement in that transaction. The only statements allowed after a DDL statement are a COMMIT WORK, an unconditional ROLLBACK WORK, or a NULL statement.

Generated By:

RES modules.

For Whom:

End User.

Remedy:

Commit the transaction immediately after the DDL statement.