I want to switch the primary key away from my existing identity column to a different column.
This is my table:
CREATE TABLE dbo.ParkingLot
(
ID int IDENTITY(1,1) PRIMARY KEY,
Address ???,
Status ???,
newID ???
);
I want to remove the primary key on the ID
column and instead have newID
be the primary key (this is a new column but it is already populated with values).