sp_dropexeclass

Description

Drops a user-defined execution class.

Syntax

sp_dropexeclass classname

Parameters

classname

is the name of the user-defined execution class to be dropped.

Examples

Example 1

This statement drops the user-defined execution class DECISION:

sp_dropexeclass 'DECISION'

Usage

Permissions

The permission checks for sp_dropexeclass differ based on your granular permissions settings.

Granular permissions enabled

With granular permissions enabled, you must be a user with manage any execution class privilege.

Granular permissions disabled

With granular permissions disabled, you must be a user with sa_role.

Auditing

Values in event and extrainfo columns from the sysaudits table are:

Event

Audit option

Command or access audited

Information in extrainfo

38

exec_procedure

Execution of a procedure

  • Roles – Current active roles

  • Keywords or options – NULL

  • Previous value – NULL

  • Current value – NULL

  • Other information – All input parameters

  • Proxy information – Original login name, if set proxy in effect

See also

System procedures sp_addexeclass, sp_bindexeclass, sp_showexeclass, sp_unbindexeclass