I have a table with 8,000 rows of data and will be adding more. but I forgot to put a primary key in the beginning. so that each row has a unique key. later i added a primar
Get rid of the column you just added. Then run this
ALTER TABLE table ADD ID INT IDENTITY ALTER TABLE table ADD CONSTRAINT PK_table PRIMARY KEY(ID)