/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\HPDI_constraint.sql **/

IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HPDI_MSGRECVCENTER') CREATE INDEX IDX_HPDI_MSGRECVCENTER ON T_HPDI_MSGRECVCENTER ( FTASKCENTERID );

EXEC p_DropIdx 'IDX_HPDI_MSGRECVCENTER', 'T_HPDI_MSGRECVCENTER';

IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HPDI_MSGRECVCENTER') CREATE INDEX IDX_HPDI_MSGRECVCENTER ON T_HPDI_MSGRECVCENTER ( FTASKCENTERID );

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