esta dando este erro
http://picasaweb.google.com.br/lh/photo/y6a5YbLjEAaIzK4WlEceJiZlaXyfY53wSym_furQOUQ?feat=directlink
[quote=”charlles_jr”:249vwd02]Caro Miro,
Updates não funcionam com junções de tabelas, tente fazer uma subquery.
Declare
Cursor c_SQL is
Select tabela1.endrua,
tabela2.endfil
from tabela1,
tabela2
where tabela1.numemp = tabela2.numemp
and tabela1.numemp = 12
and tabela1.numcad = 204;
Begin
for v_SQL in c_SQL loop
update tabela1 set v_SQL.endrua = v_SQL.endfil;
end loop;
commit;
End;
abs
Yves Plansson[/quote]