Checks the internal consistency of the data and index pages of every table in the database.
strOutput = Database.CheckTables
HRESULT pDatabase->CheckTables ( SQLOLE_LPBSTR pstrOutput );
| Element | Type | Description | 
|---|
| strOutput | String | The output returned by the internal consistency check | 
DBCC CHECKDB, DBCC CHECKTABLE