Mega Code Archive
Categories
/
MSSQL Tutorial
/
System Functions
Autoshrink - A setting of True indicates that that this database can be shrunk in size safely
EXEC sp_dboption 'YourDatabaseName', 'autoshrink', 'False' GO