[firebase-br] Update SQL

Jeferson Oliveira jefersonfoliveira em gmail.com
Qui Out 26 22:29:03 -03 2006


Utilize a função EXISTS.
Exemplo:

update TABELA_A A
set A.CODEMP = 518
where exists(select 1
             from TABELA_B B
             where B.NOME = "eu"
               and B.ACESSO = A.ACESSO)


Abraço!
Jeferson Oliveira




Mais detalhes sobre a lista de discussão lista