/**Begin D:\PDM_UPGRADE\PDM1\QCBD_constraint.sql **/
 EXEC P_ALTERPK 'PK_BD_INSPTCFGENTRY', 'T_BD_INSPTCFGENTRY', 'FENTRYID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BD_INSPRY_FID') CREATE INDEX IDX_BD_INSPRY_FID ON T_BD_INSPTCFGENTRY ( FID );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BD_INSPRY_FSEQ') CREATE INDEX IDX_BD_INSPRY_FSEQ ON T_BD_INSPTCFGENTRY ( FSEQ );



/**End D:\PDM_UPGRADE\PDM1\QCBD_constraint.sql **/
