EXEC sys.sp_configure N'show advanced options', N'1' RECONFIGURE WITH OVERRIDE
GO
EXEC sys.sp_configure 'min server memory (MB)'--服务器最小内存
EXEC sys.sp_configure 'max server memory (MB)'--服务器最大内存
go
EXEC sys.sp_configure N'show advanced options', N'0' RECONFIGURE WITH OVERRIDE
GO
config_value 字段表示配置值或者说设定值
run_value字段表示当前服务器运行时的值
GO
EXEC sys.sp_configure 'min server memory (MB)'--服务器最小内存
EXEC sys.sp_configure 'max server memory (MB)'--服务器最大内存
go
EXEC sys.sp_configure N'show advanced options', N'0' RECONFIGURE WITH OVERRIDE
GO
config_value 字段表示配置值或者说设定值
run_value字段表示当前服务器运行时的值