does anyone know how to alter a column that is already populated to be an identity column?
ALTER TABLE tblName Alter COLUMN [ID] [int] IDENTITY(1,1) NOT NULL
this gives this error:
Server: Msg 156, Level 15, State 1, Line 1
Incorrect syntax near the keyword 'IDENTITY'.
ALTER TABLE tblName Alter COLUMN [ID] [int] IDENTITY(1,1) NOT NULL
this gives this error:
Server: Msg 156, Level 15, State 1, Line 1
Incorrect syntax near the keyword 'IDENTITY'.