CheckTables Method

SQLServer.Database Object

Description

Checks the internal consistency of the data and index pages of every table in the database.

Visual Basic

strOutput = Database.CheckTables

C++

HRESULT pDatabase->CheckTables ( SQLOLE_LPBSTR pstrOutput );

Elements

Element Type Description

strOutput String The output returned by the internal consistency check

Reference

DBCC CHECKDB, DBCC CHECKTABLE