EXEC P_ALTERPK 'PK_FMM_VAREA', 'T_FMM_VAREA', 'FPKID', '1';
 
IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_FMM_VAREA_FBAS') CREATE INDEX IDX_FMM_VAREA_FBAS ON T_FMM_VAREA (FID,FBASEDATAID);