Hello
I would like some suggestions on how to setup a query to add and expire records.
My table would be setup like the one below
Origin - Destination - Rate - Valid From - Valid To
USA Germany 400 4-25-09 12-31-9999
As i get new rates i want the query to add the new rates to the table and if the query finds a duplicates expire the old rate based on the new valid from date.
If it would be easier to add the records and then perform some expiraton function that would be fine as well.
Thanks for any suggestions.
I would like some suggestions on how to setup a query to add and expire records.
My table would be setup like the one below
Origin - Destination - Rate - Valid From - Valid To
USA Germany 400 4-25-09 12-31-9999
As i get new rates i want the query to add the new rates to the table and if the query finds a duplicates expire the old rate based on the new valid from date.
If it would be easier to add the records and then perform some expiraton function that would be fine as well.
Thanks for any suggestions.