当前位置: 代码迷 >> Sql Server >> 请教在SQLSERVER中怎么查询某个表所建触发器名称
  详细解决方案

请教在SQLSERVER中怎么查询某个表所建触发器名称

热度:12   发布时间:2016-04-27 19:47:00.0
请问在SQLSERVER中如何查询某个表所建触发器名称.
select   trigger_name   from   user_triggers   where   table_name= "tname "
如oracle这样.谢谢各位.

------解决方案--------------------
sp_helptrigger tablename
------解决方案--------------------
select name from sysobjects
where parent_obj = object_id( '表1 ') and type = 'TR '
  相关解决方案