sp_dropextendedproc

Removes an extended stored procedure.

Syntax

sp_dropextendedproc esp_name

Parameters

Examples

Usage

You can execute sp_dropextendedproc only from the master database.

Permissions

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

SettingDescription
Enabled

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

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:

InformationValues
Event

38

Audit option

exec_procedure

Command or access audited

Execution of a procedure

Information in extrainfo
  • 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

Related reference
sp_addextendedproc
sp_freedll
sp_helpextendedproc