 EXEC P_ALTERPK 'PK_T_MAL_INITRESSULTENTRY', 'T_MAL_INITRESSULTENTRY', 'FENTRYID', '1';

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


 EXEC P_ALTERPK 'PK_T_MAL_INITRESULT', 'T_MAL_INITRESULT', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_MAL_INITRESULT_EMALAUTHID') CREATE INDEX IDX_MAL_INITRESULT_EMALAUTHID ON T_MAL_INITRESULT ( FEMALAUTHID );

