SQL server查看触发器是否被禁用
                        
                            时间:2021-07-01 10:21:17
                            帮助过:17人阅读
							                        
                     
                    
                    
                     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