/****************************************************************************/
/* GF85 ( 移行DB対応明細 )                                                  */
/* Created : 2018/06/08 16:45:32                                            */
/****************************************************************************/

ALTER TABLE GF85 DROP INDEX GF85_UQ;
ALTER TABLE GF85 ADD CONSTRAINT GF85_UQ PRIMARY KEY ( UNIQ );

ALTER TABLE GF85 DROP INDEX GF85_LUQ;
ALTER TABLE GF85 ADD CONSTRAINT GF85_LUQ UNIQUE( SYSTEM_ID,TBLSYU,NOJUN,TABLE_NAME,CLM,SEQNO );

ALTER TABLE GF85 DROP INDEX GF85_SA;
CREATE INDEX GF85_SA ON GF85( SYSTEM_ID,TBLSYU,TABLE_NAME,SEQNO,CLM );

ALTER TABLE GF85 DROP INDEX GF85_SB;
CREATE INDEX GF85_SB ON GF85( SYSTEM_ID,TBLSYU,TABLE_NAME,CLM );
