/****************************************************************************/
/* GE50 ( 帳票要求ﾃｰﾌﾞﾙ )                                                   */
/* Created : 2016/11/04 10:32:13                                            */
/****************************************************************************/

ALTER TABLE GE50 DROP CONSTRAINT GE50_UQ;
ALTER TABLE GE50 ADD CONSTRAINT GE50_UQ PRIMARY KEY ( SYSTEM_ID,YKNO );

DROP INDEX GE50_SA;
CREATE INDEX GE50_SA ON GE50( SYSTEM_ID,LISTID,GROUPID,YKNO );

DROP INDEX GE50_SB;
CREATE INDEX GE50_SB ON GE50( SYSTEM_ID,FGJ,FGKAN );

DROP INDEX GE50_SC;
CREATE INDEX GE50_SC ON GE50( SYSTEM_ID,DYSET );
