Jul 1, 2008

Get all the triggers for a Database

To get all the triggers list and their scripts run the script below. View the result in file view mode.

SELECT [text]
FROM sysobjects o
JOIN syscomments c ON o.id = c.id
WHERE xtype = 'TR'

No comments:

Post a Comment

SQL - Difference between CAST,CONVERT and PARSE

TODO---