常规扩展存储过程 (Transact-SQL)General Extended Stored Procedures (Transact-SQL)

适用对象:yesSQL Server(从 2012 版开始)noAzure SQL 数据库noAzure SQL 数据仓库no并行数据仓库APPLIES TO: yesSQL Server (starting with 2012) noAzure SQL Database noAzure SQL Data Warehouse noParallel Data Warehouse

SQL ServerSQL Server 支持下列系统存储过程,它们提供从 SQL ServerSQL Server 实例到外部程序的接口,用于各种维护活动。supports the following system stored procedures that provide an interface from an instance of SQL ServerSQL Server to external programs for various maintenance activities.

xp_cmdshellxp_cmdshell xp_logininfoxp_logininfo
xp_enumgroupsxp_enumgroups xp_msverxp_msver
xp_grantloginxp_grantlogin xp_revokeloginxp_revokelogin
xp_logeventxp_logevent xp_sprintfxp_sprintf
xp_loginconfigxp_loginconfig xp_sqlmaintxp_sqlmaint
xp_sscanfxp_sscanf

请参阅See Also

系统存储过程 (Transact-SQL)System Stored Procedures (Transact-SQL)