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

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 DBCC Cleantable
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

vinay.varala
Starting Member

United Kingdom
3 Posts

Posted - 01/11/2014 :  16:47:23  Show Profile  Reply with Quote
I have removed 10 columns from table actually table consists of 50 columns . I have executed dbcc cleantable to reclaim space but gives up below message 'DBCC execution completed. If DBCC printed error messages, contact your system administrator' .

can someone help me how to reclaim space ?

Regards,

tkizer
Almighty SQL Goddess

USA
36845 Posts

Posted - 01/11/2014 :  19:25:10  Show Profile  Visit tkizer's Homepage  Reply with Quote
Can you explain how you know it didn't reclaim the space? Are you referring to the file sizes? If so, you would need to execute dbcc shrinkfile to reclaim space back to the disk.

Tara Kizer
SQL Server MVP since 2007
http://weblogs.sqlteam.com/tarad/
Go to Top of Page

vinay.varala
Starting Member

United Kingdom
3 Posts

Posted - 01/12/2014 :  02:59:25  Show Profile  Reply with Quote
after executing dbcc cleantable command looking for avg_page_space_used_in_percent its shows the same percent before and after executing and rebuild the clustered index to ensure it works.

command I am using to execute : dbcc cleantable (testfm,TEST_AccDam);

Regards,
Go to Top of Page
  Previous Topic Topic Next Topic  
 New 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.14 seconds. Powered By: Snitz Forums 2000