 EXEC P_ALTERPK 'PK_T_CAS_PAYCLAIMATTACH', 'T_CAS_PAYCLAIMATTACH', 'FPKID', '1';

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


 EXEC P_ALTERPK 'PK_T_CAS_RECCLAIMATTACH', 'T_CAS_RECCLAIMATTACH', 'FPKID', '1';

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

