Subject | Re: udf function |
---|---|
Author | Adam |
Post date | 2007-02-01T00:50:19Z |
--- In firebird-support@yahoogroups.com, "Ivan Prenosil"
<Ivan.Prenosil@...> wrote:
March onwards.
Adam
<Ivan.Prenosil@...> wrote:
>YEARDAY for a specific date will be different during leap years from
> > do you now a udf function i can declare in firebird 1.5 ?
> >
> > i would like to find some data by searching on a date field format.
> >
> > i would like to extract all data for a periode,
> > for example a periode from 12 july to 24 september.
> > of course i want the query to return data for all years.
> >
> > i can do it by shaking month + day function,
> > but it would be more difficult to do.
>
> Look at builtin function
> EXTRACT(YEARDAY FROM yourfield)
>
> Do you require the select to use index ?
March onwards.
Adam