drop_triggers_cursor.txt

Here’s a script that gets all of the trigger names from the sysobjects table and then returns a result set that builds the SQL statements to drop all of the triggers from your database. Just copy and paste the results into a new window and execute.

Author: Michael Crandall

Download Script:
drop_triggers_cursor.txt



Disclaimer:
We hope that the information on these script pages is
valuable to you. Your use of the information contained in these pages,
however, is at your sole risk. All information on these pages is provided
“as -is”, without any warranty, whether express or implied, of its accuracy,
completeness, or fitness for a particular purpose…

Disclaimer Continued

Back to Database Journal Home

Previous articleSQL “How To’s” Part 2
Next articleReindex.txt

Latest Articles