可爱电源

文章
5
资源
0
加入时间
3年0月28天

如何查询数据库中的所有触发器

select name from sysobjects where xtype='TR' --所有触发器select name from sysobjects where xtype='P' --所有存储过程select name from sysobjects where xtype='V' --所有视图select name from sysobjects where xtype='U' --所有表以上为SqlServer用法Select object_name From u