root/derived/biengeo/truncate.geonames.sql @ 11495
1 | 11495 | psarando | BEGIN; |
---|---|---|---|
2 | |||
3 | TRUNCATE geonames; |
||
4 | TRUNCATE alternateNames; |
||
5 | TRUNCATE countries; |
||
6 | TRUNCATE hierarchy; |
||
7 | |||
8 | DROP INDEX IF EXISTS geonames_countrycode_idx; |
||
9 | DROP INDEX IF EXISTS geonames_featurecode_idx; |
||
10 | DROP INDEX IF EXISTS geonames_name_idx; |
||
11 | DROP INDEX IF EXISTS "alternatenames_alternatename_idx"; |
||
12 | DROP INDEX IF EXISTS "alternatenames_geonameid_idx"; |
||
13 | DROP INDEX IF EXISTS hierarchy_parentid_idx; |
||
14 | DROP INDEX IF EXISTS hierarchy_childid_idx; |
||
15 | |||
16 | COMMIT; |