/****************************************************************************/
/* GF85 ( 移行DB対応明細 )                                                  */
/* Created : 2017/06/02 17:22:00                                            */
/****************************************************************************/

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);

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);

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

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