Changing SQL Server Configurations : sp_configure « System Functions « SQL Server / T-SQL Tutorial






SELECT name, value_in_use
FROM sys.configurations
WHERE name IN ('max degree of parallelism')

EXEC sp_configure 'max degree of parallelism', 1
RECONFIGURE
GO

EXEC sp_configure 'max server memory', 250
RECONFIGURE
GO

SELECT name, value_in_use
FROM sys.configurations
WHERE name IN ('max degree of parallelism', 'max server memory (MB)')








25.27.sp_configure
25.27.1.Limiting Trigger Nesting
25.27.2.Changing SQL Server Configurations
25.27.3.sp_configure [configname[,configvalue]]
25.27.4.EXEC sp_configure 'allow updates', 1