A
Aria
This is my very first database and it's not going as smooth as I hoped. I am
trying to create a staff database for our school. There are 6 tables so far:
tblEmployees, tblRooms, tblKeys, tblKeysRequests, tblSubs and the juction
table, tblKeysEmployees.
The juction table has 2 primary keys:
KeyID and EmpID
When I join the the juction table to tblEmployees, I am not able to enforce
referential integrity. Should I be concerned with this? Also, I cannot
establish a many to many relationship. Isn't this what I need since many
employees can have the same key and many keys are assigned to many employees?
Also, since each key has a unique identifier and I have KeyID in multiple
tables, how do I handle that?
I know these are basic question that everyone already knows the answer to
but I would be very grateful for any help or suggestions. Thank you very
much!
but
trying to create a staff database for our school. There are 6 tables so far:
tblEmployees, tblRooms, tblKeys, tblKeysRequests, tblSubs and the juction
table, tblKeysEmployees.
The juction table has 2 primary keys:
KeyID and EmpID
When I join the the juction table to tblEmployees, I am not able to enforce
referential integrity. Should I be concerned with this? Also, I cannot
establish a many to many relationship. Isn't this what I need since many
employees can have the same key and many keys are assigned to many employees?
Also, since each key has a unique identifier and I have KeyID in multiple
tables, how do I handle that?
I know these are basic question that everyone already knows the answer to
but I would be very grateful for any help or suggestions. Thank you very
much!
but