--刪除數據庫發布後,發現還有很多相關的proc存在, 手動清除下!
SELECT 'drop proc dbo.'+name FROM sys.procedures
WHERE name LIKE 'sp_MSupd_%'
UNION ALL
SELECT 'drop proc dbo.'+name FROM sys.procedures
WHERE name LIKE 'sp_MSdel_%'
UNION ALL
SELECT 'drop proc dbo.'+name FROM sys.procedures
WHERE name LIKE 'sp_MSins_%'
go
查看本欄目