Collections:
"DROP PROCEDURE" - Dropping an Existing Procedure in SQL Server
How To Drop an Existing Stored Procedure in SQL Server Transact-SQL?
✍: FYIcenter.com
If you have an existing procedure that you don't want to use it anymore, you should delete it from the SQL Server by using the "DROP PROCEDURE" statement as shown in the tutorial example below:
USE FyiCenterData; GO DROP PROCEDURE datetime; GO Command(s) completed successfully. SELECT * FROM sys.procedures; GO Name object_id schema_id type type_desc ---------- ----------- ----------- ---- -------------------- Hello 1621580815 1 P SQL_STORED_PROCEDURE date 1653580929 1 P SQL_STORED_PROCEDURE (2 row(s) affected)
Stored procedure "datetime" is no longer in the database.
⇒ Creating Stored Procedures with Statement Blocks in SQL Server
⇐ sys.procedures - Listing All Stored Procedures in SQL Server
2017-01-05, 2194🔥, 0💬
Popular Posts:
How To Convert Numeric Values to Integers in SQL Server Transact-SQL? Sometimes you need to round a ...
How To Connect ASP Pages to Oracle Servers in Oracle? If you are running Windows IIS Web server and ...
How To Break Query Output into Pages in MySQL? If you have a query that returns hundreds of rows, an...
How To Look at the Current SQL*Plus System Settings in Oracle? If you want to see the current values...
What Happens to Your Transactions When ERROR 1213 Occurred in MySQL? If your transaction receives th...