Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Shrinking DB in
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

6 Posts

Posted - 04/12/2013 :  06:21:19  Show Profile  Reply with Quote

I have database on (which i do NOT have admin roles), they just allow databases to grow till 200MB.

my database size is 112MB now. to avoid any problems i had to stop inserting in AuditLog Table and truncate its 350K records.

after doing that I got 85MB as unallocated space.
I dont have permission to use DBCC SHRINKDATABASE(0)

is there any other way to claim that space back?
will MS SQL Server re-use it for other tables ? ( the AuditLog Table is no longer usable )
what options do i have?


Flowing Fount of Yak Knowledge

2242 Posts

Posted - 04/12/2013 :  06:53:31  Show Profile  Reply with Quote
Check this link

Go to Top of Page

Starting Member

6 Posts

Posted - 04/12/2013 :  07:05:22  Show Profile  Reply with Quote
well, i used truncate as they mentioned, yet space still unallocated!!

what to do now?!

Originally posted by bandi

Check this link


Go to Top of Page

Most Valuable Yak

15732 Posts

Posted - 04/12/2013 :  07:14:03  Show Profile  Visit robvolk's Homepage  Reply with Quote
Unallocated means unused, so that space will be available for any new data you insert. As long as you regularly purge data you should be fine.

Other options are to create additional databases for extra data, and find another host besides GoDaddy.
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000