Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> comp.databases.theory -> Re: Storing units in the database

Re: Storing units in the database

From: Marshall Spight <marshall.spight_at_gmail.com>
Date: 7 Jul 2005 20:09:37 -0700
Message-ID: <1120792177.830368.92150@g49g2000cwa.googlegroups.com>


Mikito Harakiri wrote:
>
> The key idea is that you treat the expression with unit symbols, for
> example
> [...]
> Now, when applied to the database, how should we store 20 feet? User
> defined types provide us some (quite unsophisticated) solution. But do
> we really have to program a class every time we want to do trivial
> conversions?

I believe that C++, for example, has everything you need to be able to do this sort of thing in the type system. I am not aware, however, of any body of people finding it to be worth the effort.

Marshall Received on Thu Jul 07 2005 - 22:09:37 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US