📜  删除所有程序 sql server - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:09.259000             🧑  作者: Mango

代码示例1
-- This query will generate the script to drop all procedures
SELECT 'DROP PROCEDURE [' + SCHEMA_NAME(p.schema_id) + '].[' + p.NAME + '];'
FROM sys.procedures p