Table: dbo.XactPay_Employee_SSN_History
Table containing the SSN history for XactPay employees
Columns
Name | Type | Constraints | Description
xactpay_employee_ssn_history_KEY | int (4) | NOT NULL | Primary key for this table.
employee_KEY | int (4) | NOT NULL | The associated employee.
modified_date | datetime (8, 3) | NOT NULL | The date the SSN was changed.
previous_SSN | nvarchar (22) | NOT NULL | The previous SSN value before the change.
transmitted | bit (1) | NOT NULL | Whether or not this change has been transmitted to XactPay

Primary key
Name | Columns | Description
PK_XactPay_Employee_SSN_History | xactpay_employee_ssn_history_KEY |
Unique constraints
Name | Columns | Description
UK_XactPay_Employee_SSN_History$employee_KEY$modified_date$previous_SSN | employee_KEY, modified_date, previous_SSN |

Foreign keys
Name | Columns | Referenced table | Description
FK_XactPay_Employee_SSN_History__Employee__employee_KEY | employee_KEY | Employee (employee_KEY) |