1
I am updating to table A which will receive values from Table B
in accordance with a.codigo = B.folha
When you run the routine below, it is slow and nothing happens for a long time. It is 500,000 lines. It’s normal or I have to wait or the script is wrong... I don’t know what to do in the routine
in fact I have to bring information from B to A according to the condition.
UPDATE escrituras t1 INNER JOIN
imovel t2 ON t2.LIVRO = t1.CODIGO
SET
t1.TipoImovelDescr = t2.DESCRICAO;
a.RUA = b.RUA;
a.BAIRRO = b.BAIRRO,
a.MUNICIPIO = b.CIDADE,
a.UF = b.ESTADO
What is
a
andb
? Is not defined in query.– Jorge B.