insert into ETiP LEFT OUTER JOIN TIMP where TIMP.tid = ETiP.tid and ETiP.amount = '0' .left outer join EMP ETiP.emp_id = EMP.em_id
update ETiP set amount='0' from ETiP a join TIMP b on a.tid=b.tid
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)