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;