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

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_TABNAME = 'T_BCM_ADJUSTLINKMAPPING' AND KSQL_INDNAME = 'IDX_BCM_ADJUSTLINKMAELIMID') CREATE INDEX IDX_BCM_ADJUSTLINKMAELIMID ON T_BCM_ADJUSTLINKMAPPING ( FELIMID );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_TABNAME = 'T_BCM_ADJUSTLINKMAPPING' AND KSQL_INDNAME = 'IDX_BCM_ADJUSTLINKELIMENTRY') CREATE INDEX IDX_BCM_ADJUSTLINKELIMENTRY ON T_BCM_ADJUSTLINKMAPPING ( FELIMENTRY );


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