kondakindi
IS-IT--Management
I have a table employee_Current_Details which refers to the table Employee_Details with reference to the Emp_Id.
I want this Emp_id to be unique in both the tables. How do i do that?
Can i declare the column as both primary and Foreign key?
or i need to check if it is existing before insert into the employee_Current_details table.
thanks in advance.
I want this Emp_id to be unique in both the tables. How do i do that?
Can i declare the column as both primary and Foreign key?
or i need to check if it is existing before insert into the employee_Current_details table.
thanks in advance.