sql server查看有哪些存储过程和视图的方法

sql server查看有哪些存储过程和视图的方法

 

select * from sys.sysobjects where type='p'  //存储过程

select * from sys.sysobjects where type='v'  //视图

sp_helptext procName //查看存储过程结构

sp_helptext vwName //查看视图结构

posted @ 2016-06-04 17:54  易雪寒  阅读(641)  评论(0)    收藏  举报