Microsoft KB Archive/150892

{|
 * width="100%"|

BUG: Space Used Not Accurate After Text/Image Inserts

 * }

Q150892

-

The information in this article applies to:


 * Microsoft SQL Server version 6.0

-

BUG#: 13412 (6.00)

SYMPTOMS
The space usage reported by sp_spaceused or the graphical utilities for SQL Server is inaccurate for some tables with text or image columns.

WORKAROUND
Regularly run DBCC UPDATEUSAGE on these tables.

CAUSE
The sysindexes used and reserved columns are not kept current with image inserts using dbwritetext in a DB-Lib program. This is true for both indid 0 and indid 255. This can lead to sp_spaceused and GUI utilities reporting incorrect values for space used and reserved.

STATUS
Microsoft has confirmed this to be a problem in Microsoft SQL Server version 6.0.

This problem does not occur in version 6.5.

Additional query words: sql6 sp_spaceused image dbwritetext

Keywords : kbtool

Issue type : kbbug

Technology : kbSQLServSearch kbAudDeveloper kbSQLServ600