/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\HPDI_constraint.sql **/
EXEC p_DropIdx 'IDX_HPDI_BIZDATAOPLOG_N1', 'T_HPDI_BIZDATAOPERATELOG';
EXEC p_DropIdx 'IDX_HPDI_BIZDATAOPLOG_N2', 'T_HPDI_BIZDATAOPERATELOG';
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_TABNAME = 'T_HPDI_BIZDATAOPERATELOG' AND KSQL_INDNAME = 'IDX_HPDI_BIZDATAOPERATELOG_N1') CREATE INDEX IDX_HPDI_BIZDATAOPERATELOG_N1 ON T_HPDI_BIZDATAOPERATELOG ( FBIZDATACODE );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_TABNAME = 'T_HPDI_BIZDATAOPERATELOG' AND KSQL_INDNAME = 'IDX_HPDI_BIZDATAOPERATELOG_N2') CREATE INDEX IDX_HPDI_BIZDATAOPERATELOG_N2 ON T_HPDI_BIZDATAOPERATELOG ( FOPERATEBIZDATACODE );


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