update a created column to a primary key column
I have created a table mentioned below, now i want to convert “PersonID” into Primary key . Please provide me the code?
create table Persons(
PersonID int,
LastName varchar(255),
FirstName varchar(255),
Address varchar(255),
City varchar(255)
);
Thanks
I have created a table mentioned below, now i want to convert “PersonID” into Primary key . Please provide me the code?create table Persons(PersonID int,LastName varchar(255),FirstName varchar(255),Address varchar(255),City varchar(255));Thanks Read More