gooseriver
IS-IT--Management
I am trying to convert this to an update statement in which I want to update tb2.effdt = tb1.startdt where tb2.type = 'zenster' and tb2.effdt< tb1.startdt
select distinct *
from Table1 tb1, Table2 tb2
where tb1.id=tb2.id and tb2.type='zenster' and tb2.effdt< tb1.startdt;
I have tried multiple update statements but keep getting zero records updated.
select distinct *
from Table1 tb1, Table2 tb2
where tb1.id=tb2.id and tb2.type='zenster' and tb2.effdt< tb1.startdt;
I have tried multiple update statements but keep getting zero records updated.