db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Segel <mse...@segel.com>
Subject Re: MySQL TO_DAYS() emulation in Derby
Date Fri, 15 Sep 2006 12:52:06 GMT
On Friday 15 September 2006 7:15 am, Robert Enyedi wrote:
> The TO_DAYS() function returns the number of days since year 0. Did
> someone successfully port this functionality to Derby? Constructing a
> Java function for this is not as straightforward as it looks.
>
> Regards,
> Robert
Why?

When was year 0?

Just because you see a function in MySQL, doesn't mean that its a good thing 
or that it has value.

Everytime you "add" a function, you're increasing the footprint of Derby.
To some this isn't an issue. To others who wish to embed Derby within an 
Applet/Servlet/whatever... This is not a good thing.


Mime
View raw message