Subject | Unicode and STRLEN function |
---|---|
Author | elite705 |
Post date | 2005-09-02T14:25:52Z |
Hi,
I have a database with Default Charset Unicode_Fss.
When I try to install the function strlen in ib_udf with:
DECLARE EXTERNAL FUNCTION strlen
CSTRING(32767)
RETURNS INTEGER BY VALUE
ENTRY_POINT 'IB_UDF_strlen' MODULE_NAME 'ib_udf';
I get an error because of the 32767.
Is ist just possible to install the function with
DECLARE EXTERNAL FUNCTION strlen
CSTRING(10923)
RETURNS INTEGER BY VALUE
ENTRY_POINT 'IB_UDF_strlen' MODULE_NAME 'ib_udf';
or is this corruption the function. Is there any other solution?
Another function I need has the same problem: F_BlobLeft in
FreeUDFLibFuncs.sql
Thanks....
I have a database with Default Charset Unicode_Fss.
When I try to install the function strlen in ib_udf with:
DECLARE EXTERNAL FUNCTION strlen
CSTRING(32767)
RETURNS INTEGER BY VALUE
ENTRY_POINT 'IB_UDF_strlen' MODULE_NAME 'ib_udf';
I get an error because of the 32767.
Is ist just possible to install the function with
DECLARE EXTERNAL FUNCTION strlen
CSTRING(10923)
RETURNS INTEGER BY VALUE
ENTRY_POINT 'IB_UDF_strlen' MODULE_NAME 'ib_udf';
or is this corruption the function. Is there any other solution?
Another function I need has the same problem: F_BlobLeft in
FreeUDFLibFuncs.sql
Thanks....