If you need to search through trigger code for table or column names use this code:
SELECT OBJECT_NAME(id)
FROM syscomments
WHERE OBJECTPROPERTY(id, 'IsTrigger') = 1
and lower(text) like '%wordtosearchfor%'
Friday, October 16, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment