Subject | Re: fbudf - dow syntax |
---|---|
Author | Alex |
Post date | 2003-09-24T12:45:51Z |
--- In firebird-support@yahoogroups.com, Helen Borrie <helebor@t...>
wrote:
DECLARE EXTERNAL FUNCTION dow
TIMESTAMP
RETURNS VARCAHR(15)
ENTRY_POINT 'DOW' MODULE_NAME 'fbudf';
The declaration I think is not the problem, because the function is
found but according to firebird log crashes the server (fbguard
abnormal termination)
Until now I used the older library ib_udf which still contained the
DOW function but now the DOW function is in fbudf but does not work
for me :/
alex
wrote:
> At 12:46 AM 24/09/2003 +0000, you wrote:conflict
> >
> > select dow(timestampfield) from mytable
> >
> No; unless this is a snippet of a larger statement that has some
> with varchar(15) return parameterno, I just trie this single select statement without success
> > But for what should be theok, this was my misunderstanding I expected a declaration like
> >second varchar parameter???
>
> This is the declaration you should have:
>
> 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.
DECLARE EXTERNAL FUNCTION dow
TIMESTAMP
RETURNS VARCAHR(15)
ENTRY_POINT 'DOW' MODULE_NAME 'fbudf';
The declaration I think is not the problem, because the function is
found but according to firebird log crashes the server (fbguard
abnormal termination)
>The Server is FB 1.5SS RC6 running on Debian Linux
> Which server version and model? Which platform is the server on?
>
> heLen
Until now I used the older library ib_udf which still contained the
DOW function but now the DOW function is in fbudf but does not work
for me :/
alex