| 111 | |
| 112 | -- remplacement des 699 par rien |
| 113 | -- ajout des op_di (je ne prends pas la valeur du serial) |
| 114 | delete from wrbd.operation_op where op_id>=1961; |
| 115 | copy wrbd.operation_op(op_id,op_folio_no,op_st_id,op_date,op_year,op_datasource,op_equipment,op_nbnets,op_nbdaysfishing, |
| 116 | op_nbnightsbeforelifting,op_glass,op_elver,op_yellow,op_silver,op_not_recorded,op_nb_pass,op_p1,op_p2, |
| 117 | op_p3,op_p4,op_p5,op_distribution,op_main_survey_target,op_silvereelcatchwt) |
| 118 | from 'C:/eda/ireland/POSE_Data_for_Modellers/Operation_4.WRBD_NDP_dbase_Historical_Lakes_and_all_burr_silvers.csv' with csv header delimiter as ';' |
| 119 | |
| 120 | delete from wrbd.operation_op where op_id>=1335;-- nouvelle numerotation dans le fichier |
| 121 | alter table wrbd.operation_op drop column op_nbnightsbeforelifting ; --c'est la colonne op_nbnights |
| 122 | alter table wrbd.operation_op drop column op_nbdaysfishing; -- contains the values of nbnights |
| 123 | copy wrbd.operation_op(op_id,op_folio_no,op_st_id,op_date,op_year,op_datasource,op_equipment,op_nbnets,op_nbnights, |
| 124 | op_glass,op_elver,op_yellow,op_silver,op_not_recorded,op_nb_pass,op_p1,op_p2, |
| 125 | op_p3,op_p4,op_p5,op_distribution,op_main_survey_target,op_silvereelcatchwt) |
| 126 | from 'C:/eda/ireland/POSE_Data_for_Modellers/Operation_4.WRBD_NDP_dbase_Historical_Lakes_and_all_burr_silvers.csv' with csv header delimiter as ';' |
| 127 | |
| 128 | update wrbd.operation_op set op_equipment='fyke net' where op_equipment='fyke net standard' |