/**Begin D:\DBA\1.4\PDM_UPGRADE\PDM1\BCM_constraint.sql **/
EXEC p_DropIdx 'IDX_BCM_EXTENDDATA', 'T_BCM_EXTENDDATA';
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_TABNAME = 'T_BCM_EXTENDDATA' AND KSQL_INDNAME = 'IDX_BCM_EXTENDDATANEW') CREATE INDEX IDX_BCM_EXTENDDATANEW ON T_BCM_EXTENDDATA ( FORG ,FDATAMODEL ,FSCENE ,FYEAR ,FPERIOD );

EXEC p_DropIdx 'IDX_BCM_EXTDATABUS', 'T_BCM_EXTENDDATA_BUS';
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_TABNAME = 'T_BCM_EXTENDDATA_BUS' AND KSQL_INDNAME = 'IDX_BCM_EXTDATABUSNEW') CREATE INDEX IDX_BCM_EXTDATABUSNEW ON T_BCM_EXTENDDATA_BUS ( FORG ,FDATAMODEL ,FSCENE ,FYEAR ,FPERIOD );


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