Avatar of vbnetcoder
vbnetcoder

asked on 

i have a primary key field -- but how do i update the field so that it is is an identity column that increments by one every time something is inserted

i have a primary key field -- but how do i update the field so that it is is an identity column that increments by one every time something is inserted.

It is an existing table so i believe I have to use alter table but not sure of all the syntax
Microsoft SQL ServerMicrosoft SQL Server 2008

Avatar of undefined
Last Comment
vbnetcoder

8/22/2022 - Mon