CheckIdentityValue Method

Description

Checks the current identity value for the table and compares it with the maximum value in the identity column. If the current identity value is invalid, it will be reset with the maximum value in the identity column.

Visual Basic

Table.CheckIdentityValue

C++

HRESULT pTable->CheckIdentityValue ( );

Reference

DBCC CHECKIDENT