How to drop all stored procedures at once in SQL Server database?

后端 未结 14 2055
囚心锁ツ
囚心锁ツ 2021-01-29 22:53

Currently we use separate a drop statements for each stored procedure in the script file:

IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N\'[         


        
14条回答
  •  北荒
    北荒 (楼主)
    2021-01-29 23:17

    1. Click on Stored Procedures Tab
    2. Press f7 to Display All Stored Procedures
    3. Select All Procedure By Ctrl + A except System Table
    4. Press Delete button and Click OK.

    You can Delete Table as well as View in same manner.

提交回复
热议问题