 EXEC p_AlterPK 'PK_GBS_FLOWSCHEME', 'T_GBS_FLOWSCHEME', 'FID', '1';
 EXEC p_AlterPK 'PK_GBS_FLOWSCHEME_L', 'T_GBS_FLOWSCHEME_L', 'FPKID', '1';
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_TABNAME = 'T_GBS_FLOWSCHEME_L' AND KSQL_INDNAME = 'IDX_GBS_FLOWSCHEME_L')
 CREATE INDEX IDX_GBS_FLOWSCHEME_L ON T_GBS_FLOWSCHEME_L (FLOCALEID ,FID );
 
 EXEC p_AlterPK 'PK_GBS_FLOWNODE', 'T_GBS_FLOWNODE', 'FID', '1';
 EXEC p_AlterPK 'PK_GBS_FLOWNODE_L', 'T_GBS_FLOWNODE_L', 'FPKID', '1';
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_TABNAME = 'T_GBS_FLOWNODE_L' AND KSQL_INDNAME = 'IDX_GBS_FLOWNODE_L')
 CREATE INDEX IDX_GBS_FLOWNODE_L ON T_GBS_FLOWNODE_L (FLOCALEID ,FID );
 
 
