Here is my situation:
Table A - Employees
All employee data, to include the unique employeeNum field, is deleted from the table each night and 'fresh' data is added back in via API. So for example, the employee row for employeeNum = 13688 (John Smith) would be deleted and then a new row is added with employeeNum = 13688 (John Smith).
Table B - Assignments
This table has a many to one relationship with employees (an employee can have many assignments). The assignments table is not deleted or purged like the employee data. The relationship is between assignmentId and employeeNum.
I am looking for guidance on how to establish the relationship between Employees and Assignments tables so that when the Employees data is deleted, and then added back in, the relationship between Assignments and Employees will be maintained.
Thanks.