sp_dropextendedproc

Description

Removes an extended stored procedure (ESP).

Syntax

sp_dropextendedproc esp_name

Parameters

esp_name

is the name of the extended stored procedure to be dropped.

Examples

Example 1

Removes xp_echo:

sp_dropextendedproc xp_echo

Usage

Permissions

Only a System Administrator can execute sp_dropextendedproc.

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

Commands drop procedure

System procedures sp_addextendedproc, sp_freedll, sp_helpextendedproc