/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\HDM_table.sql **/
 EXEC P_ALTERPK 'PK_HDM_PARTTIMESUPERIOR', 'T_HDM_PARTTIMESUPERIOR', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HDM_PARTTIMESUPERIOR') CREATE INDEX IDX_HDM_PARTTIMESUPERIOR ON T_HDM_PARTTIMESUPERIOR ( FBASEDATAID );


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