SELECT tb2.name AS tableName,tb1.name AS triggerName FROM Sysobjects tb1 JOIN Sysobjects tb2 ON tb1.parent_obj=tb2.id WHERE tb1.type='TR'
查看当前库中所有触发器及其对应表名
猜你喜欢
转载自blog.51cto.com/13866219/2140898
今日推荐
周排行