首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > SQL Server >

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

2012-01-26 
请问在SQLSERVER中如何查询某个表所建触发器名称.selecttrigger_namefromuser_triggerswheretable_name

请问在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 '

热点排行