How can I remove unallocated space from a SQL Server database?

Posted by Dynamo on Server Fault See other posts from Server Fault or by Dynamo
Published on 2009-06-05T19:58:34Z Indexed on 2010/06/10 16:23 UTC
Read the original article Hit count: 256

Filed under:
|

I have a database that was recently shrunk and when I run sp_spaceused I see that it has 500MB of unallocated space. I'm trying to keep this database to a certain size (do to MSDE size restrictions for my desktop users) and I'm not sure if the unallocated space affects the overall database size. Is there a way to remove this unallocated space from the database?

© Server Fault or respective owner

Related posts about sql-server

Related posts about database