EXEC master.dbo.sp_configure 'show advanced options', 1 RECONFIGURE EXEC RECONFIGURE EXEC SP_CONFIGURE 'show advanced option', '1';
RECONFIGURE WITH OVERRIDE;
EXEC SP_CONFIGURE 'xp_cmdshell';
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/8337095/viewspace-1042210/ ,如需转载,请注明出处,否则将追究法律责任。