When to Use DBCC UPDATEUSAGE in SQL Server?
Nikunj Satasiya
Select an image from your device to upload
DBCC UPDATEUSAGE is a SQL Server command that fixes and updates system records about the number of pages and rows in a table or index. It is useful when these counts are incorrect, as such errors can impact query performance and space usage reports.
DBCC UPDATEUSAGE
example : DBCC UPDATEUSAGE (‘AdventureWorks’) WITH NO_INFOMSGS;