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

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BCM_MERGECONTROL') CREATE INDEX IDX_BCM_MERGECONTROL ON T_BCM_MERGECONTROL ( FPROGRESSID );


 EXEC P_ALTERPK 'PK_T_BCM_FLOWTASK', 'T_BCM_FLOWTASK', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BCM_FLOWTASK') CREATE INDEX IDX_BCM_FLOWTASK ON T_BCM_FLOWTASK ( FBIZID );



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