Drops a user-defined execution class.
sp_dropexeclass classname
sp_dropexeclass 'DECISION'
An execution class helps define the execution precedence used by the SAP ASE server to process tasks. See the Performance and Tuning Guide for more information on execution classes and execution attributes.
classname must not be bound to any client application, login, stored procedure, or default execution class. Unbind the execution class first, using sp_unbindexeclass, then drop the execution class, using sp_dropexeclass.
You cannot drop system-defined execution classes.
The permission checks for sp_dropexeclass differ based on your granular permissions settings.
Setting | Description |
---|---|
Enabled | With granular permissions enabled, you must be a user with manage any execution class privilege. |
Disabled | With granular permissions disabled, you must be a user with sa_role. |
Values in event and extrainfo columns from the sysaudits table are:
Information | Values |
---|---|
Event | 38 |
Audit option | exec_procedure |
Command or access audited | Execution of a procedure |
Information in extrainfo |
|