can you please help me with the following update statement used with join from multiple tables:
update rol
set
rol.role_name = GetCode('ADDRTYPE', ao.Addr_Typ)
FROM table_addr ao ,
table_contact con ,
table_role rol
where con.appid = rol.id
AND ao.use_id = con.con_id
and rol.role_name='Corporate'
I am getting Oracle error:
SQL Error: ORA-00933: SQL command not properly ended 00933. 00000 - "SQL command not properly ended"