![]() |
---|
后续版本的 Microsoft SQL Server 将删除该功能。请不要在新的开发工作中使用该功能,并尽快修改当前还在使用该功能的应用程序。 Use CLR integration instead. |
A Microsoft SQL Server authenticated user can display the currently defined extended stored procedures and the name of the DLL to which each belongs by running the sp_helpextendedproc system procedure. For example, the following example returns the DLL to which xp_hello belongs:
sp_helpextendedproc 'xp_hello'
If sp_helpextendedproc is executed without specifying an extended stored procedure, all the extended stored procedures and their DLLs are displayed.
![]() |
---|
Information will be returned for only those extended stored procedures that the logged in user owns or has permissions to. Only members of the sysadmin fixed server role and the db_owner, db_securityadmin, and the db_ddladmin fixed database roles can view information for all extended stored procedures. |
请参阅
其他资源
sp_helpextendedproc (Transact-SQL)
sp_addextendedproc (Transact-SQL)
sp_dropextendedproc (Transact-SQL)