/**Begin D:\DBA\PDM_UPGRADE\PDM1\BCM_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_BCM_ISRPASCHEMERULE', 'T_BCM_ISRPASCHEMERULE', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BCM_ISRPASCHEMERULE') CREATE INDEX IDX_BCM_ISRPASCHEMERULE ON T_BCM_ISRPASCHEMERULE ( FRPASCHEMEID );


 EXEC P_ALTERPK 'PK_T_BCM_RPASCHEMETASK', 'T_BCM_RPASCHEMETASK', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BCM_RPASCHEMETASK_SC') CREATE INDEX IDX_BCM_RPASCHEMETASK_SC ON T_BCM_RPASCHEMETASK ( FRPASCHEMEID );



/**End D:\DBA\PDM_UPGRADE\PDM1\BCM_constraint.sql **/
