Hi,
update ECFORCLI.FCSTAAAA
set
FCU01A = ECFORCLI.FCSTAAAATM.FCU01A
from ECFORCLI.FCSTAAAA AS T1
where
(ECFORCLI.FCSTAAAATM.FCANO, ECFORCLI.FCSTAAAATM.FCSTOC)
in
(
select ECFORCLI.FCSTAAAA.FCSTOC, ECFORCLI.FCSTAAAA.FCANO from ECFORCLI.FCSTAAAA where
T1.FCANO = ECFORCLI.FCSTAAAA.FCANO and
T1.FCSTOC = ECFORCLI.FCSTAAAA.FCSTOC
)
I hope I didn't mistype table names. Please in the future use more simple names for example on forum.
Hope this helps,
Grofaty