| Subject | Re: [firebird-support] udf function | 
|---|---|
| Author | Ivan Prenosil | 
| Post date | 2007-02-01T00:39:03Z | 
> do you now a udf function i can declare in firebird 1.5 ?Look at builtin function
>
> 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.
EXTRACT(YEARDAY FROM yourfield)
Do you require the select to use index ?
Ivan