/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\IM_table.sql **/
 IF EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_IM_INVBC_FKEY') DROP INDEX T_IM_INVBALANCE.IDX_IM_INVBC_FKEY;

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_IM_INVBALANCE_FKEY') CREATE UNIQUE INDEX IDX_IM_INVBALANCE_FKEY ON T_IM_INVBALANCE ( FDIMMD5STR ,FSTARTDATE,FBALANCETYPE);


/**End E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\IM_table.sql **/
