/**Begin E:\PDM\PDM1\BOS_constraint.sql **/

 EXEC P_ALTERPK 'PK_T_INT_EXRATESYNC_ENTRY', 'T_INT_EXRATESYNC_ENTRY', 'FENTRYID', '1';

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

 EXEC P_ALTERPK 'PK_T_BD_EXRATESYNC_GUIDE', 'T_BD_EXRATESYNC_GUIDE', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_T_BD_EXRSYN_GUIDE') CREATE INDEX IDX_T_BD_EXRSYN_GUIDE ON T_BD_EXRATESYNC_GUIDE ( FNUMBER );


 EXEC P_ALTERPK 'PK_T_BD_EXRATESYNC_GUIDE_L', 'T_BD_EXRATESYNC_GUIDE_L', 'FPKID', '1';

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


/**End E:\PDM\PDM1\BOS_constraint.sql **/
