In Sql server query window, execute query that selects all stored procedures with the prefix you want (such as procedures that start with 'cust'):
SELECT 'DROP PROCEDURE ' + Name FROM sys.objects WHERE type in (N'P', N'PC') and name like 'cust_%'
SELECT 'DROP PROCEDURE ' + Name FROM sys.objects
WHERE
and
Right-click the query window and set results to text. This gives you a results window with a single column of drop prodecures. Select all the text, copy to a new query window and execute.
Remember Me
Powered by: newtelligence dasBlog 2.0.7226.0
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2008, Your Name Here
E-mail