 EXEC P_ALTERPK 'PK_T_POM_SPECIALWT', 'T_POM_NRCSPECIALWT', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_POM_SPECIALWT_FK') CREATE INDEX IDX_POM_SPECIALWT_FK ON T_POM_NRCSPECIALWT ( FENTRYID );