Subject | Re: [firebird-support] Udf returning VARCHAR |
---|---|
Author | Dmitry Kuzmenko |
Post date | 2014-02-03T23:11:36Z |
Hello, liviuslivius!
Friday, January 31, 2014, 12:21:37 PM, you wrote:
l> i try to find any example of writing and declaring udf function
l> returning varchar instead of Char
l> without success.
l> Is this possible?
yes, but correct way is to use CSTRING.
It can be simply used inside udf, and that udf will be 100% compatible
with any outside CHAR/VARCHAR variables, fields or literals.
--
Dmitry Kuzmenko, www.ib-aid.com
Friday, January 31, 2014, 12:21:37 PM, you wrote:
l> i try to find any example of writing and declaring udf function
l> returning varchar instead of Char
l> without success.
l> Is this possible?
yes, but correct way is to use CSTRING.
It can be simply used inside udf, and that udf will be 100% compatible
with any outside CHAR/VARCHAR variables, fields or literals.
--
Dmitry Kuzmenko, www.ib-aid.com