SQL Server 2005 supports the following system stored procedures that provide an interface from an instance of SQL Server to external programs for various maintenance activities.
xp_cmdshell
xp_logininfo
xp_enumgroups
xp_msver
xp_findnextmsg
xp_revokelogin
xp_grantlogin
xp_sprintf
xp_logevent
xp_sqlmaint
xp_loginconfig
xp_sscanf
Vezi mai multe la: http://msdn2.microsoft.com/en-us/library/ms187389.aspx