![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Is it possible to join to tables on dates but where the join is between a single date in one table joined to a date range of the other? Basically I have one table with transaction values and currencies for daily dates and a second table that has currency exchange rates for different date ranges eg Transaction table fields Client_id Transaction Value Currency ProcessDate Currency table fields: Currency Rate (vs EUR) Startdate Enddate Basically I want to return the currency rate for the given date from the currency table (depending on which range it falls in) |
#3
| |||
| |||
|
|
Is it possible to join to tables on dates but where the join is between a single date in one table joined to a date range of the other? Basically I have one table with transaction values and currencies for daily dates and a second table that has currency exchange rates for different date ranges eg Transaction table fields Client_id Transaction Value Currency ProcessDate Currency table fields: Currency Rate (vs EUR) Startdate Enddate Basically I want to return the currency rate for the given date from the currency table (depending on which range it falls in) |
#4
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |