/****************************************************************************/
/* GF85 ( 移行DB対応明細 )                                                  */
/* Created : 2020/02/28 14:39:47                                            */
/****************************************************************************/

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

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

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

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