|
|
|
Identity & Reset Identity (After deletion of records)Creates an identity column in a table. This property is used with the CREATE TABLE and ALTER TABLE Transact-SQL statements. SyntaxIDENTITY [ ( seed , increment ) ] Argumentsseed Is the value that is used for the very first row loaded into the table. increment Is the incremental value that is added to the identity value of the previous row that was loaded. You must specify both the seed and increment or neither. If neither is specified, the default is (1,1). Returns the last-inserted identity value. Syntax
|
|