当前位置:Gxlcms > 数据库问题 > sql server查看有哪些存储过程和视图的方法

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

时间:2021-07-01 10:21:17 帮助过:2人阅读

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

 

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

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

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

sp_helptext vwName //查看视图结构

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

标签:

人气教程排行