Data definition statements not allowed in procedures or triggers

Error constant SQLE_DDL_NOT_ALLOWED_IN_PROCEDURES
ODBC 2 State ERROR
ODBC 3 State ERROR
Severity 15
SQLCODE –623
SQLSTATE 52W21
Sybase error code 154
Probable cause

The procedure or trigger definition contains a data definition statement (such as CREATE, DROP, GRANT, REVOKE, or ALTER). These statements are not allowed within procedures or triggers.