Files
data-services/geocoder/ip-addresses/sql/build_data_table.sql
2014-08-21 13:20:20 -04:00

10 lines
271 B
SQL

---- Postal Code Polygon table ---
--- ---
-- Clear table
DELETE FROM ip_address_locations;
INSERT INTO ip_address_locations (the_geom, network_start_ip) SELECT the_geom, network_start_ip::inet FROM latest_ip_address_locations;
DROP TABLE latest_ip_address_locations;