You can remove or delete a stored procedure with two different methods.
Drop Procedure/PROC YourProcedureName
OR
Drop Procedure/PROC dbo.YourProcedureName
Follow these steps to delete or remove the stored procedure from the specific database:
- Open
Object Explorer
in SQL- Open
Databases
- Select your desired database
- Select
Programmability
- Select
Stored Procedures
- From the list of stored procedures, Right click on the stored procedure you want to remove
- Click on
Delete
and the stored procedure will be removed- You can also view dependencies of that stored procedure before deleting, by clicking on
View Dependencies
This entire process is described in the diagrams below: