Tuesday, April 27, 2010

T-SQL for SQL Server 2005 to Shrink database to smallest size possible.

How can you shrink a SQL Server 2005 database to the smallest size possible? Using the below script will do the trick.

Thanks to Pinal Dave for help with log portion!

No comments:

There was an error in this gadget