Bonediggler1
Technical User
Hi--
I would like to change the data type of a column to IDENTITY. I am using the following code but get the 'Incorrect syntax near the keyword 'IDENTITY' error:
ALTER TABLE DBO.AUDIT
ALTER COLUMN AUDIT_ID SMALLINT IDENTITY (1,1)
Thanks for the help!!
I would like to change the data type of a column to IDENTITY. I am using the following code but get the 'Incorrect syntax near the keyword 'IDENTITY' error:
ALTER TABLE DBO.AUDIT
ALTER COLUMN AUDIT_ID SMALLINT IDENTITY (1,1)
Thanks for the help!!