/****************************************************************************/
/* GF42 ( 郵便番号定義 )                                                    */
/* Created : 2014/05/21 18:36:32                                            */
/****************************************************************************/

ALTER TABLE GF42 DROP INDEX GF42_UQ;
ALTER TABLE GF42 ADD CONSTRAINT GF42_UQ PRIMARY KEY ( POSTCODE,PREF_KANA,CITY_KANA,TOWN_KANA );

ALTER TABLE GF42 DROP INDEX GF42_SA;
CREATE INDEX GF42_SA ON GF42( JIGYO_KANA );

ALTER TABLE GF42 DROP INDEX GF42_SB;
CREATE INDEX GF42_SB ON GF42( CITY_KANA,JISCODE );

ALTER TABLE GF42 DROP INDEX GF42_SC;
CREATE INDEX GF42_SC ON GF42( TOWN_KANA );

ALTER TABLE GF42 DROP INDEX GF42_SD;
CREATE INDEX GF42_SD ON GF42( JIGYO_KANJI );

ALTER TABLE GF42 DROP INDEX GF42_SE;
CREATE INDEX GF42_SE ON GF42( CITY_KANJI );

ALTER TABLE GF42 DROP INDEX GF42_SF;
CREATE INDEX GF42_SF ON GF42( TOWN_KANJI );
