Checks the internal allocation consistency of the database. This includes checking that data and index pages are consistent with the allocation information in the extent.
strOutput = Database.CheckAllocations
HRESULT pDatabase->CheckAllocations ( SQLOLE_LPBSTR pstrOutput );
Element | Type | Description |
---|
strOutput | String | The output returned by the internal consistency check |
DBCC NEWALLOC