Subject | Re: [firebird-support] fbudf - dow syntax |
---|---|
Author | Helen Borrie |
Post date | 2003-09-24T02:19:01Z |
At 12:46 AM 24/09/2003 +0000, you wrote:
with varchar(15) return parameter
declare external function dow
timestamp,
varchar(15) returns parameter 2
entry_point 'DOW' module_name 'fbudf';
As you see, it specifies parameter 2 as the return parameter.
Which server version and model? Which platform is the server on?
heLen
>Hi,No; unless this is a snippet of a larger statement that has some conflict
>
>can someone tell my how the dow or sdow function in fbudf works
>correctly?? I tried a
>
> select dow(timestampfield) from mytable
>
>but it does not work. only a sandclock shows and after a while I get
>an error "connection lost to server..."...
>Am I using wrong syntax??
with varchar(15) return parameter
>in the function declaration I can see twois the sole input parameter
>input paramters, timestamp
>and a varchar.is the return parameter
> But for what should be theThis is the declaration you should have:
>second varchar parameter???
declare external function dow
timestamp,
varchar(15) returns parameter 2
entry_point 'DOW' module_name 'fbudf';
As you see, it specifies parameter 2 as the return parameter.
Which server version and model? Which platform is the server on?
heLen