Hello,
I have department table with deptId as the primary key and an Employee table with deptId as the foreign key. When I use table outputs for employee and department, it gives me an error for employee table saying parent key not found. How can I ensure that the employee table gets populated only after the department records are completely put into the department table?
I don't plan to remove the referential integrity constraints.
I have department table with deptId as the primary key and an Employee table with deptId as the foreign key. When I use table outputs for employee and department, it gives me an error for employee table saying parent key not found. How can I ensure that the employee table gets populated only after the department records are completely put into the department table?
I don't plan to remove the referential integrity constraints.