hi friends,
What is sp_configure commands and set commands?
SP_Configure Commands in SQLSERVER
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Javeed M ShaikhRank #839 · 2.7K reputationPosted Nov 8, 2011, 2:25 PM EST
sp_configure displays or changes global configuration settings for the current server.
set commands are used to change the current session handling of specific information.
Pravin MoreRank #1,419 · 1.2K reputationPosted Nov 8, 2011, 6:26 PM EST
sp_configure :- changes settings of Server
for e.g:-
1.USE master;
GO
EXEC sp_configure 'show advanced option', '1';
above statement changes 'show advanced options' from 0 to 1
2.USE master;
GO
EXEC sp_configure 'recovery interval', '3';
above statement sets the system recovery interval to 3 minutes.
SET:-
it Sets the value to local variable, previously created by using the DECLARE @local_variable statement.
Thanks,
Pravin.