Subject | Re: [firebird-support] Why this query doesn't work? |
---|---|
Author | Ivan Prenosil |
Post date | 2005-07-11T19:05:28Z |
>> > Why do you think is a problem?No. I asked "Do you mean _input_ parameters, passed via _xsqlda structure_ ?"
>> >
>> > 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;
So, can you execute this:
select
f_left( ?, 2)
from rdb$Database;
Ivan