/**Begin D:\PDM_UPGRADE\PDM1\BCM_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_BCM_ADJUSTUPDATESTATUS', 'T_BCM_ADJUSTUPDATESTATUS', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BCM_ADJUSTUPDATE') CREATE INDEX IDX_BCM_ADJUSTUPDATE ON T_BCM_ADJUSTUPDATESTATUS ( FMODELLD ,FSCENEID ,FYEARID ,FPERIODID );


 EXEC P_ALTERPK 'PK_T_BCM_USERSELECTREPORT', 'T_BCM_USERSELECTREPORT', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BCM_USSELECTRPT') CREATE INDEX IDX_BCM_USSELECTRPT ON T_BCM_USERSELECTREPORT ( FSOURCEID );



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