SQL Server 用SQL语句查找某个表的触发器

select   *   from   sysobjects   where   xtype='TR'   and   parent_obj=object_id('表名')

再用sp_helptext '触发器名' 查内容 比如:exec sp_helptext 'Trig_Group_Delete'

posted @ 2013-07-26 09:10  银杏叶儿  Views(896)  Comments(0Edit  收藏  举报