/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\HPDI_constraint.sql **/
 EXEC P_ALTERPK 'PK_HPDI_SUMVERPRACTG', 'T_HPDI_SUMVERPRACTG', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_TABNAME = 'T_HPDI_SUMVERPRACTG' AND KSQL_INDNAME = 'IDX_HPDI_SUMVERPRACTG') CREATE INDEX IDX_HPDI_SUMVERPRACTG ON T_HPDI_SUMVERPRACTG ( FID ,FBASEDATAID );



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