Syntaxe d'identité dans SQL
IDENTITY[(seed,increment)]
--seed is the value of the first row loaded into the table
--increment is the incremental value added to the identity value of the previous row.
--should only contain ONE identity PER TABLE
--example:
CREATE TABLE EMPLOYEE
(
IID INT IDENTITY(1,1),
NAME [varchar](MAX) NOT NULL,
AGE INT NOT NULL
)
ekkamrit