/**Begin D:\PDM_UPGRADE\PDM1\FCS_constraint.sql **/
 EXEC P_ALTERPK 'PK_FCS_RISKPARAM', 'T_FCS_RISKPARAM', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_FCS_RISKPARAM') CREATE UNIQUE INDEX IDX_FCS_RISKPARAM ON T_FCS_RISKPARAM ( FNUMBER );


 EXEC P_ALTERPK 'PK_FCS_RISKPARAM_L', 'T_FCS_RISKPARAM_L', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_FCS_RISKPARAM_L') CREATE INDEX IDX_FCS_RISKPARAM_L ON T_FCS_RISKPARAM_L ( FID ,FLOCALEID );



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