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