Hello!
I'm hoping that you can help me Alter a SQL table to provide a unique constraint over 2 columns.
For instance let's say I have a departments table called Dpt_tbl with two columns that I want to be unique
Name
Location
So I want to make sure that you could not have
NAME | Location
-----------------------
HR | Loc1
HR | Loc1
but you could have
HR | Loc1
HR | Loc2
These would both be varchar columns.
Any help would be great.
Thanks.