UPDATE devicenumplanmap
SET devicenumplanmap.e164mask = '+1'
FROM devicenumplanmap
WHERE (select devicenumplanmap.pkid, devicenumplanmap.e164mask
from devicenumplanmap, device
where devicenumplanmap.fkdevice = device.pkid
and device.name like '%RDP'
and devicenumplanmap.e164mask like '819%')
A syntax error has occurred.
We want to update the table devicenumplanmap from a search in another table.