sqlserver查看触发器,存储过程,视图及表的一些命令

来源:互联网 发布:企业私有云软件 编辑:程序博客网 时间:2024/06/05 05:36

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' --所有表

阅读全文
0 0
原创粉丝点击