>>But how many cases are there where arbitrary currency values are held in
>>a table?
[quoted text clipped - 5 lines]
> then when producing the quarterly results, everything needs to be tied
> back to USD for SEC reporting.
Are you telling me you would track yoru revenue centrally, but not
convert to your "master" currency directly.
I think I would take serious offense with such a design...
Also the question whether conversion rates are those of the booking date
at the subsidiary or the report date plays in here. Im CS and not MBA..
so I shut up on that one....
> Banks, too, will deal with even more "currencies": most banks allow you
> to buy/sell other currencies at some given rate loosely based on the
> market.
Yes, OK.. but these are point in time transactions. Your account will
NOT show that you received 100 EUR. It shows you received a bucket of
CAND with a nice annotation on that this was originally 100 EUR
converted with a rate of 1/x bucket.
> And then do other currencies count? Bonds, mutuals, stocks, handled by
> most trading companies - are these currencies? One could really
> abstract the heck out of this, I would think.
And it's not a new problem, and it has been solved quite satisfactory
long before structured types came around. Banking and OO.. never seen
that combination.
> Just because I can only get CDN at my local ATM, or I can only open CDN
> and USD accounts at my local branch, doesn't mean that's all the
> currencies a bank deals with ;-)
That wasn't the question. The question is what do I need to store
persistently and in general. No question there are cases where I want to
store holdings with a qualifying currency columns, but that sure won't
be the common case.
Cheers
Serge

Signature
Serge Rielau
DB2 SQL Compiler Development
IBM Toronto Lab