SQL Server常用的几个存储过程 1. sp_helptext 查看一些数据库对象的定义,比如存储过程、函数、试图等。 2. sp_who或者sp_who2 查看SQL Server数据库会话信息。比如是否被阻塞。