sp_helpextendedproc

Description

Displays extended stored procedures (ESPs) in the current database, along with their associated DLL files.

Syntax

sp_helpextendedproc [esp_name]

Parameters

esp_name

is the name of the extended stored procedure. It must be a procedure in the current database.

Examples

Example 1

Lists the xp_cmdshell ESP and the name of the DLL file in which its function is stored:

use sybsystemprocs
go
sp_helpextendedproc xp_cmdshell

ESP Name    DLL Name 
----------- ---------- 
xp_cmdshell sybsyesp

Example 2

Lists all the ESPs in the current database, along with the names of the DLL files in which their functions are stored:

sp_helpextendedproc

ESP Name    DLL Name 
----------- ---------- 
xp_freedl    sybsyesp
xp_cmdshell  sybsyesp

Usage

Permissions

Only a System Administrator can execute sp_helpextendedproc to see all the ESPs in the database. All users can execute sp_helpextendedproc to see ESPs owned by themselves or by the Database Owner.

See also

Commands create procedure, drop procedure

Extended system procedure xp_cmdshell

System procedures sp_addextendedproc, sp_dropextendedproc