/**BEGIN E:\NEXTERP_PDM\PDM_UPGRADE\PDMS\BRANCH_LASTEST\PDM\POM_TABLE.SQL **/
 EXEC P_ALTERPK 'PK_T_POM_NRCDEFECTTYPE', 'T_POM_NRCDEFECTTYPE', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_POM_NRCDPE_FID') CREATE INDEX IDX_POM_NRCDPE_FID ON T_POM_NRCDEFECTTYPE ( FID );


/**END E:\NEXTERP_PDM\PDM_UPGRADE\PDMS\BRANCH_LASTEST\PDM\POM_TABLE.SQL **/