{"id":12,"date":"2011-06-20T13:29:54","date_gmt":"2011-06-20T13:29:54","guid":{"rendered":"https:\/\/sqlserverlearner.azurewebsites.net\/2011\/06\/20\/using-sp_configure-sql-server\/"},"modified":"2011-06-20T13:29:54","modified_gmt":"2011-06-20T13:29:54","slug":"using-sp_configure-sql-server","status":"publish","type":"post","link":"https:\/\/sqlserverlearner.com\/2011\/06\/20\/using-sp_configure-sql-server\/","title":{"rendered":"using sp_configure sql server"},"content":{"rendered":"
using sp_configure in sql server explained in depth.<\/p>\n
The procedure sp_configure Displays or changes global configuration settings for the current server.<\/p>\n
Syntax: <\/strong><\/p>\n Parameters of sp_configure:<\/p>\n <\/span><\/p>\n <\/span><\/p>\n @configname is the configuration name. If this value is not @configvalue is used to set the new value to the The maximum and minimum values for each configuration name The output of executing sp_configure directly will be as
\nsp_configure
\n<\/code><\/p>\n\n\n
\n <\/span>Parameter_name<\/td>\n Type<\/td>\n Length<\/td>\n Prec<\/td>\n Scale<\/td>\n Param_order<\/td>\n Collation<\/td>\n<\/tr>\n \n @configname<\/td>\n varchar<\/td>\n 35<\/td>\n 35<\/td>\n NULL<\/td>\n 1<\/td>\n SQL_Latin1_General_CP1_CI_AS<\/td>\n<\/tr>\n \n @configvalue<\/td>\n int<\/td>\n 4<\/td>\n 10<\/td>\n 0<\/td>\n 2<\/td>\n NULL<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n
\nspecified then all the configuration options are listed.<\/p>\n
\nconfiguration option provided in @configname. Its default value is null.<\/p>\n
\ncan be found by executing the sp_configure procedure directly.<\/p>\n
\nfollows(depending upon the current configuration the results will change):<\/p>\n