/****************************************************************************/
/* GF85 ( 移行DB対応明細 )                                                  */
/* Created : 2014/12/16 09:05:43                                            */
/****************************************************************************/

ALTER TABLE GF85 DROP CONSTRAINT GF85_UQ;
ALTER TABLE GF85 ADD CONSTRAINT GF85_UQ PRIMARY KEY ( UNIQ )
USING INDEX TABLESPACE GEIDX01
STORAGE( INITIAL 16K NEXT 16K PCTINCREASE 0 );

ALTER TABLE GF85 DROP CONSTRAINT GF85_LUQ;
ALTER TABLE GF85 ADD CONSTRAINT GF85_LUQ UNIQUE( SYSTEM_ID,TBLSYU,NOJUN,TABLE_NAME,CLM,SEQNO )
USING INDEX TABLESPACE GEIDX01
STORAGE( INITIAL 16K NEXT 16K PCTINCREASE 0 );

DROP INDEX GF85_SA;
CREATE INDEX GF85_SA ON GF85( SYSTEM_ID,TBLSYU,TABLE_NAME,SEQNO,CLM )
TABLESPACE GEIDX01
STORAGE( INITIAL 16K NEXT 16K PCTINCREASE 0 );

DROP INDEX GF85_SB;
CREATE INDEX GF85_SB ON GF85( SYSTEM_ID,TBLSYU,TABLE_NAME,CLM )
TABLESPACE GEIDX01
STORAGE( INITIAL 16K NEXT 16K PCTINCREASE 0 );
