Hi,
I have a table with the following fields:
ResourceID
ResourceName
DateTime
InstructorID
LocationID
Misc
I have 2 different combinations that need to be unique: DateTime & InstructorID, and DateTime & LocationID.
I was going to make a combo key of DateTime, InstructorID, and LocationID but this will not satisfy my 2 above conditions for every scenario. What is the easiest way to accomplish this? Thanks.
I have a table with the following fields:
ResourceID
ResourceName
DateTime
InstructorID
LocationID
Misc
I have 2 different combinations that need to be unique: DateTime & InstructorID, and DateTime & LocationID.
I was going to make a combo key of DateTime, InstructorID, and LocationID but this will not satisfy my 2 above conditions for every scenario. What is the easiest way to accomplish this? Thanks.