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

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