/**Begin D:\PDM_UPGRADE\PDM1\FPM_constraint.sql **/
EXEC P_ALTERPK 'PK_T_FPM_GLOBAL_CONFIG', 'T_FPM_GLOBAL_CONFIG', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_FPM_GLOBAL_CONFIG_KEY') CREATE INDEX IDX_FPM_GLOBAL_CONFIG_KEY ON T_FPM_GLOBAL_CONFIG ( FCONFIGKEY );


EXEC P_ALTERPK 'PK_T_FPM_GLOBAL_CONFIG_L', 'T_FPM_GLOBAL_CONFIG_L', 'FPKID', '1';

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



/**End D:\PDM_UPGRADE\PDM1\FPM_constraint.sql **/
