/**Begin D:\DBA\1.4\PDM_UPGRADE\PDM1\BCM_constraint.sql **/
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_TABNAME = 'T_BCM_BREXECINFO' AND KSQL_INDNAME = 'IDX_BCM_EXECINFO_BIZMODEL') CREATE INDEX IDX_BCM_EXECINFO_BIZMODEL ON T_BCM_BREXECINFO ( FBIZRULEID ,FMODELID );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_TABNAME = 'T_BCM_STATUS' AND KSQL_INDNAME = 'IDX_BCM_STATUS_TSYP') CREATE INDEX IDX_BCM_STATUS_TSYP ON T_BCM_STATUS ( FTEMPLATEID ,FYEAR ,FPERIOD ,FSCENARIO ,FORG );


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