Share with together

独乐乐不如众乐乐

博客园 首页 新随笔 联系 订阅 管理

To save some of you from SQL Server 2005 Books Online, this quick bit of SQL will enable xp_cmdshell to execute, if you don't want to use the SQL Server 2005 Surface Area Configuration tool.

Clearly you'll need sa privileges on your SQL instance to run this:

sp_configure 'show advanced options', 1
GO
RECONFIGURE
GO
sp_configure 'xp_cmdshell', 1
GO
RECONFIGURE
GO

posted on 2007-07-13 10:45  寒枫  阅读(2148)  评论(1编辑  收藏  举报