duplicate record
Posted
by user349953
on Stack Overflow
See other posts from Stack Overflow
or by user349953
Published on 2010-05-25T13:32:15Z
Indexed on
2010/05/25
13:51 UTC
Read the original article
Hit count: 189
mysql-query
Insert into Attendancemst ( emp_code , name, date , timetable , on_duty,out_duty,clockin , clockout, late, early, mis_in , mis_out , absent , halfday, total_time ) values (pemp_code,pname,pdate,ptimetable,pon_duty,pout_duty ,pclockin,pclockout,plate, pearly, pmis_in,pmis_out,pabsent,phalfday,ptotal_time )ON DUPLICATE KEY UPDATE emp_code=pemp_code and date = pdate;
© Stack Overflow or respective owner