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

2014-11-24 01:24:22 · 作者: · 浏览: 6

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;