db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Sp." <patspringer2...@gmail.com>
Subject Re: Generic data types
Date Thu, 27 Sep 2007 21:03:21 GMT

Thaaaaaaaank you Bryan, it works :jumping:
P.


Bryan Pendleton wrote:
> 
>> However, in practice, the 'TagValue' may be of different data types
>> (float,
>> varchar, int,  etc). The right data type is known only at runtime.
> 
> Here's a couple of ideas:
> 
> - Declare the column as a string, and convert the various data types
>    to and from string format when storing/retrieving them.
> 
> - Declare multiple columns, each of the appropriate data type for its
>    value, and use the right column for the right data type
> 
> thanks,
> 
> bryan
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Generic-data-types-tf4528719.html#a12930282
Sent from the Apache Derby Users mailing list archive at Nabble.com.


Mime
View raw message