hai all
I am using a query to insert 2 fields from my temp table( emp_attendance_ temp ) to the attendance table.
insert is happening but the problem is emp_attendance tables id is set as the id of the temp tables id.
I don't want to set the ID from the temp table.
i want the Id in emp_attendance in its incremental sequence
INSERT INTO emp_attendance (employee_id,at tendance_status _code) select employee_id,att endance_status_ code from emp_attendance_ temp
I am using a query to insert 2 fields from my temp table( emp_attendance_ temp ) to the attendance table.
insert is happening but the problem is emp_attendance tables id is set as the id of the temp tables id.
I don't want to set the ID from the temp table.
i want the Id in emp_attendance in its incremental sequence
INSERT INTO emp_attendance (employee_id,at tendance_status _code) select employee_id,att endance_status_ code from emp_attendance_ temp
Comment