How can I modify table and set identity on PK column using T-SQL?
thanks for help
You can't modify an existing column to have the IDENTITY "property" - you have to:
If there are foreign keys involved, you need to fix those up also.
2.1m questions
2.1m answers
60 comments
57.0k users