After deleting data from the MessageStats database the size on disk of the database stays the same. How can I reduce the size of the MessageStats Database.
This is a function of Microsoft SQL Server. Deleting data from a database only free's up space within the database files it does not reduce the size on disk of the database files. Unless the database files are shrunk by the DBA.
For SQL Server 2005 / 2008 / 2008 R2
Note: The Default setting shrinks the Database files to the last allocated extent, for more detailed information click the help button at the top of the "Shrink Database" dialog box.