I have a table in that on two columns i have to put unique key how is it possible.
i have search so many time but not get
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Michael GriffithsPosted Apr 7, 2016, 3:38 PM
ALTER TABLE Persons
ADD CONSTRAINT uc_PersonID UNIQUE (P_Id,LastName)