Subject | Re: [firebird-support] SQL with Extract in Group By Clause |
---|---|
Author | Milan Babuskov |
Post date | 2004-08-04T06:17:28Z |
Lou wrote:
dates. I highly recommend rFunc UDF library:
http://rfunc.sourceforge.net
HTH
--
Milan Babuskov
http://fbexport.sourceforge.net
http://www.flamerobin.org
> Is it possible do use the Extract function to Group-By in a query?You can group by UDF, so use some UDF that extracts months/years from
> I periodicaly have a need to report summary totals over several
> months and the only way that seems logical is to group by Extract
> (Year from date), Extracte (month from date), sum(value) etc....
>
> I am currently only using FB1.0x FB 1.5 is in my near future for
> this project. Will D/l and try on FB 1.51 first chance I get.
dates. I highly recommend rFunc UDF library:
http://rfunc.sourceforge.net
HTH
--
Milan Babuskov
http://fbexport.sourceforge.net
http://www.flamerobin.org