G
Guest
I have an employee table and a plant table. Each plant item can be assigned
to an employee, or it can be null. Is there still a one-to-many relationship
between the two tables? The employeeID field is the primary key in the
employee table and the foreign key in the plant table.
With the relationship in place, when creating a new plant record, it has to
have an associated employee record. This is what I'm trying to avoid. Would
creating the relationship, but not enforcing referential integrity be a
good/bad idea?
Thanks
Dave
to an employee, or it can be null. Is there still a one-to-many relationship
between the two tables? The employeeID field is the primary key in the
employee table and the foreign key in the plant table.
With the relationship in place, when creating a new plant record, it has to
have an associated employee record. This is what I'm trying to avoid. Would
creating the relationship, but not enforcing referential integrity be a
good/bad idea?
Thanks
Dave