 EXEC P_ALTERPK 'PK_FMM_TASK_SUBSECTION', 'T_FMM_TASK_SUBSECTION', 'FENTRYID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_FMM_TASK_SUBSECTION_FSEQ') CREATE INDEX IDX_FMM_TASK_SUBSECTION_FSEQ ON T_FMM_TASK_SUBSECTION ( FID,FSEQ );

