Closed garnertb closed 9 years ago
@meilinger, I have a shapefile with the geometry for these records which I will send to you. Once you receive it, please up the geom field one the incidentaddress table with it.
Load 2013 records for the NFIRS data base into the production NFIRS db.
delete from hazmobprop where substring(inc_date, 6,1)='/' and right(inc_date, 4)='2013';
delete from hazmat where substring(inc_date, 6,1)='/' and right(inc_date, 4)='2013';
delete from hazchem where substring(inc_date, 6,1)='/' and right(inc_date, 4)='2013';
delete from ffequipfail where ctid not in (select min(ctid) from ffequipfail where right(inc_date, 4)='2013' group by state, fdid, inc_date, inc_no, exp_no, cas_seq_no, eqp_seq_no, version, equip_item, eqp_prob, eqp_man, eqp_mod, eqp_ser_no) and right(inc_date, 4)='2013';
delete from hazmatequipinvolved where substring(inc_date, 6,1)='/' and right(inc_date, 4)='2013';