Thursday, September 2, 2021

How to an Add Identity Column to Table in SQL Server

 ALTER TABLE MyTable

ADD ID INT IDENTITY(1,1) NOT NULL


No comments:

Post a Comment

Note: Only a member of this blog may post a comment.