Subject | Re: UDF problem |
---|---|
Author | kittikira |
Post date | 2010-01-25T17:10:01Z |
This is the declaration in the database
DECLARE EXTERNAL FUNCTION FIRST_DAY
INTEGER,
INTEGER
RETURNS DATE FREE_IT
ENTRY_POINT 'first_day' MODULE_NAME 'rsudf';
I have the same udf in Pascal (Delphi), that works with this declaration.
DECLARE EXTERNAL FUNCTION FIRST_DAY
INTEGER,
INTEGER
RETURNS DATE FREE_IT
ENTRY_POINT 'first_day' MODULE_NAME 'rsudf';
I have the same udf in Pascal (Delphi), that works with this declaration.
--- In firebird-support@yahoogroups.com, Dimitry Sibiryakov <sd@...> wrote:
>
> 25.01.2010 17:24, kittikira wrote:
> > When using the UDF first_day in an SQL statement, firebird closes the connection.
>
> What happens if you call it from ordinary program?
>
> Show us declaration of the UDF in database.
>
> --
> SY, SD.
>