I need to update a database field in server ESO-CAD based on a matching value in server KRONOS. The problem is that the needed value itself on server KRONOS involves a join between two tables.
SELECT b.personnum,a.emailaddresstxt
FROM EMAILADDRESS a,PERSON b
WHERE a.PERSONNUM = b.PERSONNUM
With these returned values, I need to update field EMAIL on server ESO-CAD with value a.emailaddresstxt where there is a matching personnum with the one returned above.
Hope I'm making sense.
Thank you for your help.
SELECT b.personnum,a.emailaddresstxt
FROM EMAILADDRESS a,PERSON b
WHERE a.PERSONNUM = b.PERSONNUM
With these returned values, I need to update field EMAIL on server ESO-CAD with value a.emailaddresstxt where there is a matching personnum with the one returned above.
Hope I'm making sense.
Thank you for your help.