443 | | |
444 | | |
445 | | |
446 | | }}} |
| 443 | ---Mise à jour de la distance mer |
| 444 | update rht.pate set dmer=sub.dmer from |
| 445 | (select id_drain, dmer from rht.rhtvs2) as sub |
| 446 | where sub.id_drain=pate.id_drain and id_roe in ('ROE46202','ROE45125','ROE6785','ROE43996','ROE42134','ROE7104','ROE11608'); |
| 447 | ---Mise à jour de la surface du BV du RHT (pout comparaison avec la "surf_bv") |
| 448 | update rht.pate set surf_bv_rht=sub.surf_bv from |
| 449 | (select id_drain, surf_bv from rht.attributs_rht_fev_2011_vs2) as sub |
| 450 | where sub.id_drain=pate.id_drain and id_roe in ('ROE46202','ROE45125','ROE6785','ROE43996','ROE42134','ROE7104','ROE11608'); |
| 451 | ---Mise à jour du module |
| 452 | update rht.pate set module=sub.module from |
| 453 | (select id_drain, module from rht.attributs_rht_fev_2011_vs2) as sub |
| 454 | where sub.id_drain=pate.id_drain and id_roe in ('ROE46202','ROE45125','ROE6785','ROE43996','ROE42134','ROE7104','ROE11608'); |
| 455 | ---Mise à jour du minqmx |
| 456 | update rht.pate set minqmx=sub.minqmx from |
| 457 | (select id_drain, minqmx from rht.attributs_rht_fev_2011_vs2) as sub |
| 458 | where sub.id_drain=pate.id_drain and id_roe in ('ROE46202','ROE45125','ROE6785','ROE43996','ROE42134','ROE7104','ROE11608'); |
| 459 | |
| 460 | |
| 461 | }}} |