\encoding UTF8;
/****************************************************************************/
/* GF85 ( 移行DB対応明細 )                                                  */
/* Created : 2022/11/10 17:41:32                                            */
/****************************************************************************/


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,nojun,table_name,clm,seqno );


DROP INDEX GF85_SA;

create index gf85_sa on gf85( system_id,table_name,seqno,clm );


DROP INDEX GF85_SB;

create index gf85_sb on gf85( system_id,table_name,clm );
