exec sp_databases--列出服务器上的所有数据库
exec sp_helpdb MySchool--报告有关指定数据库或所有数据库信息
exec sp_renamedb MySchool,S2226--更改数据库名称
exec sp_tables--返回当前环境下可查询的对象列表
exec sp_columns student--返回某个表列的信息
exec sp_help student --查看某个表的所有信息
exec sp_helpconstraint student--查看某个表的约束
exec sp_helpindex student--查看某个表的索引
exec sp_stored_procedures--列出当前环境中的所有存储过程
exec sp_password null,'123','sa'--添加或修改登录账户的密码
exec sp_helptext 'View_1'--显示默认值,未加密的存储过程,用户定义的存储过程,触发器或视图的实际文本