Changes between Version 14 and Version 15 of Meuse_dams
- Timestamp:
- Jun 5, 2014 3:52:25 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Meuse_dams
v14 v15 103 103 CREATE TABLE belge.obstaclescourt as 104 104 select site_num, obst_num, code_ori, sousbassin, basin_inf, categorie, noma, province, symbolisat, dat_m_jour, type_obst, revetement, longueur, larg_diam, 105 hauteur, prof_amont, prof_aval, lame_eau, dif_niveau, import_bio, echelle, obs_id, role_obst FROM belge.obstacles; 106 105 hauteur, prof_amont, prof_aval, lame_eau, dif_niveau_ouvrage, import_bio, echelle, obs_id, role_obst FROM belge.obstacles; 106 107 107 108 DROP TABLE if exists belge.physical_obstruction CASCADE; 108 109 CREATE TABLE belge.physical_obstruction( … … 120 121 INSERT INTO belge.physical_obstruction (ob_id,ob_no_origin,ob_no_type,ob_no_period,ob_starting_date, ob_ending_date,ob_op_id,ob_dp_id,ot_no_obstruction_type, 121 122 ot_obstruction_number,ot_no_mortality_type, ot_no_mortality , po_no_obstruction_passability, po_obstruction_height, po_turbine_number, site_num, obst_num, code_ori, sousbassin, basin_inf, categorie, noma, province, symbolisat, dat_m_jour, type_obst, revetement, longueur, larg_diam, 122 hauteur, prof_amont, prof_aval, lame_eau, dif_niveau , import_bio, echelle, obs_id, role_obst123 hauteur, prof_amont, prof_aval, lame_eau, dif_niveau_ouvrage, import_bio, echelle, obs_id, role_obst 123 124 ) 124 125 SELECT … … 148 149 when o.symbolisat is null then 208 149 150 end as po_no_obstruction_passability, 150 o.dif_niveau as po_obstruction_height,151 o.dif_niveau_ouvrage as po_obstruction_height, 151 152 NULL AS po_turbine_number,o.* 152 FROM 153 FROM 153 154 belge.obstaclescourt o JOIN belge.ouvragedbeel d ON o.obs_id=d.obs_id; 154 155