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'
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'
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。