EXEC P_ALTERPK 'PK_FMM_PROJECT_ISSUEBODY', 'T_FMM_PROJECT_ISSUEBODY', 'FPKID', '1';
 
IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_FMM_PROJECT_ISSUEBODY_FID') CREATE INDEX IDX_FMM_PROJECT_ISSUEBODY_FID ON T_FMM_PROJECT_ISSUEBODY (FID,FBASEDATAID);