当前位置:中国飞客联盟文章中心菜鸟文摘 → SQL2005开启选项的一些方法整理

SQL2005开启选项的一些方法整理

减小字体 增大字体 作者:佚名  来源:不详  发布时间:2007-9-13 9:56:43
Ø        sql server 2005下开启xp_cmdshell的办法

EXEC sp_configure 'show advanced options', 1;RECONFIGURE;EXEC sp_configure 'xp_cmdshell', 1;RECONFIGURE;

Ø        SQL2005开启'OPENROWSET'支持的方法:

exec sp_configure 'show advanced options', 1;RECONFIGURE;exec sp_configure 'Ad Hoc Distributed Queries',1;RECONFIGURE;

Ø        SQL2005开启'sp_oacreate'支持的方法:

exec sp_configure 'show advanced options', 1;RECONFIGURE;exec sp_configure 'Ole Automation Procedures',1;RECONFIGURE;