/****************************************************************************/
/* GE12 ( ｼｽﾃﾑﾊﾟﾗﾒｰﾀ定義 )                                                  */
/* Created : 2020/02/28 14:39:24                                            */
/****************************************************************************/

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

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

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

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