Sql 有没有办法找到哪些帐户可以执行xp\u cmdshell?

Sql 有没有办法找到哪些帐户可以执行xp\u cmdshell?,sql,sql-server,Sql,Sql Server,我想了解SQL Server系统上的哪些用户可以执行xp\u cmdshell。有一个查询可以做到这一点吗 我想知道如何在SQL Server 2000-2008上执行此操作 When first enabled, xp_cmdshell requires CONTROL SERVER permission to execute and the Windows process created by xp_cmdshell has the same security context as the

我想了解SQL Server系统上的哪些用户可以执行xp\u cmdshell。有一个查询可以做到这一点吗

我想知道如何在SQL Server 2000-2008上执行此操作

When first enabled, xp_cmdshell requires CONTROL SERVER
permission to execute and the Windows process created by
xp_cmdshell has the same security context as the SQL Server 
service account.