Exec sp_configure 'show advanced options' ,1
RECONFIGURE
GO
-- Show all configure
sp_configure
Exec sp_configure 'backup compression default',1
GO
RECONFIGURE;
sp_configure 'fill factor', 100;
GO
RECONFIGURE;
The server must be restarted before the change can take effect.
USE master;
GO
-- Set recovery every 3 min
EXEC sp_configure 'recovery interval', '3';
RECONFIGURE WITH OVERRIDE;
EXEC sp_configure 'xp_cmdshell', 1
GO
RECONFIGURE
USE master
EXEC sp_configure 'max server memory (MB)', 64
RECONFIGURE WITH OVERRIDE
EXEC sp_configure "number of checkpoint tasks", 4