1 changed files with 19 additions and 0 deletions
@ -0,0 +1,19 @@ |
|||
update project set locate_address = NULL,locate_longitude = NULL,locate_dimension = NULL; |
|||
|
|||
UPDATE |
|||
project a, |
|||
( |
|||
SELECT |
|||
address a, |
|||
longitude b, |
|||
dimension c, |
|||
issue_id d |
|||
FROM epmet_resi_group.resi_topic |
|||
) b |
|||
SET |
|||
a.locate_address = b.a, |
|||
a.locate_longitude = b.b, |
|||
a.locate_dimension = b.c |
|||
WHERE |
|||
a.origin = 'issue' |
|||
AND a.origin_id = b.d; |
Loading…
Reference in new issue