码迷,mamicode.com
首页 > 数据库 > 详细

SQL server查看触发器是否被禁用

时间:2019-05-16 12:43:51      阅读:196      评论:0      收藏:0      [点我收藏+]

标签:isa   span   HERE   查看   状态   触发器   div   pre   font   

1 select a.name as 触发器名,b.name as 表名,
2 case a.is_disabled when 0 then 启用 when 1 then 禁用 else 未知错误 end as 状态
3 from sys.triggers a,sys.sysobjects b
4 where a.parent_id=b.id and a.type=TR and b.name=Market_Indent_T

 

SQL server查看触发器是否被禁用

标签:isa   span   HERE   查看   状态   触发器   div   pre   font   

原文地址:https://www.cnblogs.com/scc-/p/10874872.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!