Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Negative Free space being reported on a SQL2000 db

Status
Not open for further replies.

UpstateNYAdmin

Technical User
Oct 21, 2005
35
US
(SQL2000 std SP3a on Win2k3)
One of my databases is show negative free space of 9000% in Quest spotlight and 0 MB free in SQLEM when I view the db properties. Does any one know how to correct those stats? I have already done several DBCC CHCKDB and CHECKTABLEs on that database. I suspect it could be due the db file fragmentation, so I want to exhaust everything while its online before I backup and restore. I had another db that had the same issue and the CHECKDB seemed to fix it.
 
run DBCC UPDATEUSAGE

- Paul
- If at first you don't succeed, find out if the loser gets anything.
 
You will need to include the db name like this.
Code:
DBCC UPDATEUSAGE([db_name])

- Paul
- If at first you don't succeed, find out if the loser gets anything.
 
no problem

- Paul
- If at first you don't succeed, find out if the loser gets anything.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top