/****************************************************************************/
/* GE12 ( ｼｽﾃﾑﾊﾟﾗﾒｰﾀ定義 )                                                  */
/* Created : 2018/06/08 16:45:33                                            */
/****************************************************************************/

ALTER TABLE GE12 DROP CONSTRAINT GE12_UQ;
ALTER TABLE GE12 ADD CONSTRAINT GE12_UQ PRIMARY KEY ( UNIQ );

ALTER TABLE GE12 DROP CONSTRAINT GE12_LUQ;
ALTER TABLE GE12 ADD CONSTRAINT GE12_LUQ UNIQUE( SYSTEM_ID,PARAM_ID,KBSAKU,CONTXT_PATH,FGJ );

DROP INDEX GE12_SA;
CREATE INDEX GE12_SA ON GE12( SYSTEM_ID,CONTXT_PATH,FGJ,KBSAKU,SEQNO );

DROP INDEX GE12_SB;
CREATE INDEX GE12_SB ON GE12( SYSTEM_ID,SEQNO );
