Removes an extended stored procedure.
sp_dropextendedproc esp_name
sp_dropextendedproc xp_echo
You can execute sp_dropextendedproc only from the master database.
The permission checks for sp_dropextendedproc differ based on your granular permissions settings.
Setting | Description |
---|---|
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. |
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 |
|