sp_dropextendedproc (Transact-SQL)
SQL Server 2005
Drops an extended stored procedure.
Note: |
|---|
| This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Use CLR Integration instead. |
Transact-SQL Syntax Conventions
Executing sp_dropextendedproc drops the user-defined extended stored procedure name from the sys.objects catalog view and removes the entry from the sys.extended_procedures catalog view. This stored procedure can be run only in the master database.
In SQL Server 2005, sp_dropextendedproc does not drop system extended stored procedures. Instead, the system administrator should deny EXECUTE permission on the extended stored procedure to the public role. In SQL Server 2000, sp_dropextendedproc could be used to drop any extended stored procedure.
sp_dropextendedproc cannot be executed inside a transaction.
