Changes between Version 2 and Version 3 of INTEGRATING stations


Ignore:
Timestamp:
Dec 3, 2010 5:15:03 PM (14 years ago)
Author:
cedric
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • INTEGRATING stations

    v2 v3  
    120120); 
    121121 
    122 alter table wrbd.operation_op add column op_nb_sets numeric; 
     122 
     123 
     124copy wrbd.operation_op from 'C:/base/Operation_14_Eel_Db_MI_Rivers.csv' with csv delimiter as ';'  ;  
     125copy wrbd.operation_op from 'D:/CelineJouanin/POSEProject/Ireland/DataIreland/Operation_14_Eel_Db_MI_Rivers.csv' with csv delimiter as ';'  ;  
     126 
     127alter table wrbd.operation_op add column op_nbsets numeric; 
     128update wrbd.operation_op set op_nbsets=1; 
    123129alter table wrbd.operation_op rename column op_num_fishing  to op_nb_pass; 
    124130alter table wrbd.operation_op add column op_density numeric; 
     
    128134alter table  wrbd.operation_op add column op_nbfem integer; 
    129135alter table  wrbd.operation_op add column op_nbmal integer; 
     136alter table  wrbd.operation_op add column op_nbimmat integer; 
    130137alter table  wrbd.operation_op add column op_nbind integer; 
    131 copy wrbd.operation_op from 'C:/base/Operation_14_Eel_Db_MI_Rivers.csv' with csv delimiter as ';'  ;  
    132 copy wrbd.operation_op from 'D:/CelineJouanin/POSEProject/Ireland/DataIreland/Operation_14_Eel_Db_MI_Rivers.csv' with csv delimiter as ';'  ;  
     138alter table  wrbd.operation_op add column op_totalestim numeric; 
     139alter table  wrbd.operation_op add column op_totalweight numeric; 
     140alter table  wrbd.operation_op rename column ope_year to op_year; 
     141alter table  wrbd.operation_op rename column ope_date to op_date; 
     142copy wrbd.operation_op(op_st_id,op_year,op_equipment,op_area,op_nbsets,op_nb_pass,op_density,op_totalestim,op_totalweight,op_total,op_nbfem,op_nbmal,op_nbimmat) from 'C:/base/8WFD_river_survey_operations.csv' with csv delimiter as ';' header ;  
     143copy wrbd.operation_op from 'D:/CelineJouanin/POSEProject/Ireland/DataIreland/8WFD_river_survey_operations.csv' with csv delimiter as ';'  ;  
     144 
    133145 
    134146}}}