stuppi (stuppi (AT) discussions (DOT) microsoft.com) writes:
Quote:
I've noticed that after increasing the initial size of the model
database it cannot be reduced. I increased it from 3MB to 5MB and
although I can later specify a lower value, say back to 3MB, the change
dosen't stick. I'm using Management Studio on a 2005 default instance.
Is this behavior by design? |
To increase the size of a database you use ALTER DATABASE. But to shrink
a database, you use DBCC SHRINKFILE. (Or SHRINKFILE). Shrinking a database
is (or should be) a much less common operation.
--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se
Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx