How to add auto incrementing property to primary key of a table in Sql Server 2005 ?
I have ProductID as primary key. I want to increment its value by 1 everytime a record is added. I didn’t use IDENTITY keyword while creating table.
How to add auto incrementing property to primary key of a table in Sql
Share
There is a lot posted about this either here in SO or in other places.
What you are looking for is exactly this
how to set auto increment after creating a table without any data loss?