Nov 15, 2005 #1 Mayoor Programmer Jan 16, 2004 198 GB I would like to know if there are any triggers associated with a table.... is there anyway of doing this please?
I would like to know if there are any triggers associated with a table.... is there anyway of doing this please?
Nov 15, 2005 #2 gmmastros Programmer Feb 15, 2005 14,901 US sp_helptrigger '<tablename>' ex Assuming you have a table named tektips... sp_helptrigger 'tektips' -George Strong and bitter words indicate a weak cause. - Fortune cookie wisdom Upvote 0 Downvote
sp_helptrigger '<tablename>' ex Assuming you have a table named tektips... sp_helptrigger 'tektips' -George Strong and bitter words indicate a weak cause. - Fortune cookie wisdom
Nov 15, 2005 #3 SQLDenis Programmer Oct 1, 2005 5,575 US select object_name(id) as triggername,object_name(parent_obj) as Tablename from sysobjects where xtype ='tr' and object_name(parent_obj) ='TableName' just replace TableName with your tablename Denis The SQL Menace SQL blog:http://sqlservercode.blogspot.com/ Personal Blog:http://otherthingsnow.blogspot.com/ Upvote 0 Downvote
select object_name(id) as triggername,object_name(parent_obj) as Tablename from sysobjects where xtype ='tr' and object_name(parent_obj) ='TableName' just replace TableName with your tablename Denis The SQL Menace SQL blog:http://sqlservercode.blogspot.com/ Personal Blog:http://otherthingsnow.blogspot.com/
Nov 15, 2005 #4 druer Programmer Nov 11, 2005 266 US If you are in Enterprise Manager just right click on the table and choose Manage Triggers. (So many options to choose from.) Upvote 0 Downvote
If you are in Enterprise Manager just right click on the table and choose Manage Triggers. (So many options to choose from.)