How do I add the identity property to an existing column in SQL Server

后端 未结 6 1258
夕颜
夕颜 2020-12-09 02:22

In SQL Server (in my case, 2005) how can I add the identity property to an existing table column using T-SQL?

Something like:

alter table tblFoo 
            


        
6条回答
提交回复
热议问题