I have one table that has repeating dates as below, though the HOLIDAY_KEY field is not fully populated yet(there are over 9000 records and not all of them are holidays). Each date will be represented continuously.
<tbody>
</tbody>
Then I have a table as below. Which only calls out the holiday dates themselves(as we are tagging them).
<tbody>
</tbody>
Is there a way for me to update the holiday key in the first table automatically based on the dates in the second table?
CAL_DATE | DATA | HOLIDAY_KEY |
1/1/2011 | 11 | 1 |
1/1/2011 | 1000 | 1 |
1/15/2011 | 12 | 2 |
1/15/2011 | 899 | 2 |
<tbody>
</tbody>
Then I have a table as below. Which only calls out the holiday dates themselves(as we are tagging them).
ACT_DATE | HOLIDAY_KEY |
1/1/2011 | 1 |
1/15/2011 | 2 |
<tbody>
</tbody>
Is there a way for me to update the holiday key in the first table automatically based on the dates in the second table?