Batch Delete tables, stored procedures, and other objects in SSMS

Source: Internet
Author: User
In SSMS, you used to batch Delete tables, stored procedures, and other objects. You can also use the ssms gui to delete tables or stored procedures in batches, because all stored procedures need to be deleted during this business trip, and the stored procedures can be re-created, and objects such as tables and functions can be deleted in this way. Ctrl + A select all, and then press Ctrl.

In SSMS, you used to batch Delete tables, stored procedures, and other objects. You can also use the ssms gui to delete tables or stored procedures in batches, because all stored procedures need to be deleted during this business trip, and the stored procedures can be re-created, and objects such as tables and functions can be deleted in this way. Ctrl + A select all, and then press Ctrl.

Batch Delete tables, stored procedures, and other objects in SSMS

In the past, I was looking for a method to delete tables or stored procedures in batches. I rented a Hong Kong server. The original SSMS GUI can also be completed.

Please see, because all stored procedures need to be deleted during this business trip, and these stored procedures should be rebuilt.

Tables, functions, and other objects can be deleted in this way. Ctrl + A select all, and then press Ctrl, without selecting the system stored procedure, American space, right-click, and delete

In this way, o (∩ _ ∩) o

If you want to use the TSQL script to delete all stored procedures in a database, you can do this.

Sys. procedures (4000) name sys. procedures (@ SQL)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.