Pugazhal Srinivasan writes:
> In a application server we configure and use the Embedded derby server
> to register a derby function table (in EJB in our case) and are able
> to call the function from other places in the application, including
> servlet.
>
> But we are unabl
In a application server we configure and use the Embedded derby server to
register a derby function table (in EJB in our case) and are able to call
the function from other places in the application, including servlet.
But we are unable to call the same function using ij. The error is "
Subject: Re: Derby Function
Sorry, I mean GROUP BY YEAR(), MONTH(), DAY() in Derby.
Sorry, I mean GROUP BY YEAR(), MONTH(), DAY() in Derby.
Max Ten wrote:
> Unfortunately there are no such functions in Derby... so i need to
> store the number of year, month and day in different columns.
Which functions exactly are you looking for?
YEAR, MONTH and DAY all exist in Derby 10.2
E.g.
http://db.apache.org/derby/docs/10.1/ref/rre
Unfortunately there are no such functions in Derby... so i need to store the number of year, month and day in different columns.
51 PM
> To: Max Ten; Stanley Bradbury; Derby Discussion
> Subject: RE: Derby Function
>
> Hi Max,
>
> Another option would be to use the MetaMatrix Query product on top of
> Derby. MetaMatrix Query is a federated SQL engine with a JDBC driver
> that supports Oracle, SQL Server, S
://devcentral.metamatrix.com/blog/alex/2006/02/28/Enhancing-Apache-D
erby-with-MetaMatrix.
Alex Miller
Chief Architect
MetaMatrix
-Original Message-
From: Stanley Bradbury [mailto:[EMAIL PROTECTED]
Sent: Monday, February 27, 2006 1:13 PM
To: Derby Discussion
Subject: Re: Derby Function
Max Ten wrote
Max Ten wrote:
if i'm not misunderstood your explanation, tats mean i have to store
ex: 2006-10-31 to 3 different columns, (Yr) for 2006, (Mth) for 10 and
(Dy) for 31.
By this way i can use the function "GROUP BY" for those columns.
Anyway, will it be any enhancement for function "GROUP BY" i
if i'm not misunderstood your explanation, tats mean i have to store ex: 2006-10-31 to 3 different columns, (Yr) for 2006, (Mth) for 10 and (Dy) for 31.By this way i can use the function "GROUP BY" for those columns.
Anyway, will it be any enhancement for function "GROUP BY" in future?Thanks Stanl
Max Ten wrote:
Is there any function for - GROUP BY YEAR(), GROUP BY MONTH(), GROUP
BY QUARTER() in derby?
Hi -
There are functions but they are not supported in a GROUP BY clause in
Derby. The workaround (a bit kludgy) is to translate the values
returned by the function to table data valu
Is there any function for - GROUP BY YEAR(), GROUP BY MONTH(), GROUP BY QUARTER() in derby?
12 matches
Mail list logo