Mega Code Archive

 
Categories / MSSQL Tutorial / System Functions
 

Sp_dboption is a system function that allows a specific database option to be set

EXEC sp_dboption 'YourDatabaseName', 'autoclose', 'True' GO