Subject Re: [firebird-support] Why this query doesn't work?
Author Ivan Prenosil
>> > Why do you think is a problem?
>> >
>> > I have plenty of UDFs which use CString for parameters. They work
> fine
>> > for me.
>>
>> Do you mean input parameters, passed via xsqlda structure ?
>> Can you send some example command ?
>
> DECLARE EXTERNAL FUNCTION F_LEFT
> CSTRING(254),
> INTEGER
> RETURNS CSTRING(254)
> ENTRY_POINT 'F_Left' MODULE_NAME 'aaUDFLib'
>
> select
> f_left( 'abcde', 2)
> from rdb$Database;

No. I asked "Do you mean _input_ parameters, passed via _xsqlda structure_ ?"
So, can you execute this:

select
f_left( ?, 2)
from rdb$Database;

Ivan