Use 数据库名称
select * from sysobjects where xtype='p'

 

sql server查看存储过程 sqlserver如何查看存储过程_数据库

 

 

P是存储过程
V是视图
FN是function
U是Table