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, 2276🔥, 0💬
Popular Posts:
What Happens If the UPDATE Subquery Returns Multiple Rows in SQL Server? If a subquery is used in a ...
How REAL and FLOAT Literal Values Are Rounded in SQL Server Transact-SQL? By definition, FLOAT(n) sh...
How to set database to be READ_ONLY in SQL Server? Databases in SQL Server have two update options: ...
How To Replace Given Values with NULL using NULLIF() in SQL Server Transact-SQL? Sometime you want t...
How To Convert Binary Strings into Integers in SQL Server Transact-SQL? Binary strings and integers ...