PROBLEMA CON UPDATE
TRATO DE ASIGNAR LOS VALORES DE LA COLUMNA COD DE LA TABLA CLAVE A LA COLUMNA GESTION DE LA TABLA CODIGO PERO QUEDA EN UN LOOP.....
update codigo
set gestion = cod
from
clave
where gestion is null
update codigo
set gestion = cod
from
clave
where gestion is null
