Subject | Re: [ib-support] udf crashes firebird |
---|---|
Author | Nick Upson |
Post date | 2003-05-19T13:37:41Z |
>From: "Ivan Prenosil" <prenosil@...>that was it
>1) how does your UDF declaration look like ?
> Do you use
> ... RETURNS INTEGER BY VALUE; ?
>2) There is EXTRACT built-in function (not in IB4, IB5 though),using FB1.0.2 but I can't get EXTRACT(WEEKDAY FROM 'today'- 1) + 1 to work
> to return Monday = 1, .. Sun = 7, use it that way
> EXTRACT(WEEKDAY FROM my_date_field - 1) + 1
_________________________________________________________________
Use MSN Messenger to send music and pics to your friends
http://www.msn.co.uk/messenger