SQL 查询存储过程、视图内容

来源:互联网 发布:移动刷流量软件 编辑:程序博客网 时间:2024/06/05 16:08

sp_helptext ‘存储过程名称’–查询存储过程

sp_helpindex ‘表名’–查询索引

select text from syscomments s1 join sysobjects s2 on s1.id=s2.id where name=’视图名称’–查询视图

原创粉丝点击