hi all,
my need is to add identity constraints to existing column of table
thanks .
Adding an identity to an existing column
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Pankaj Rawat71 reputationPosted Apr 4, 2013, 2:23 AM EDT
so the possible solution is:-
a). Either Create a new table with Same Fields and Structure and apply identity to the column at that time and then drop the previous table.
b). Create a new Column with same Datatype and Apply Identity to it and then delete the Column(previous).
Satyapriya NayakRank #47 · 31.5K reputationPosted Apr 4, 2013, 2:30 AM EDT
http://blog.sqlauthority.com/2009/05/03/sql-server-add-or-remove-identity-property-on-column/