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

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

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

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

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

sp_helptext vwName //查看视图结构

原文地址:https://www.cnblogs.com/yixuehan/p/5559228.html