mitchem1
Registered User.
- Local time
- Yesterday, 23:01
- Joined
- Feb 21, 2002
- Messages
- 153
I have a Contracts table (primary key: ContractID) and an Employee table (primary key: EmployeeID). I guess this is a many-to-many relationship as an employee can work on many contracts and a contract can have multiple employees. I have created a junction table called Details where the primary key is both ContractID and EmployeeID. How do I set it up to maintain integrity so that no employee can be deleted if he or she is tied to a contract? Thanks.