Q1: For a character inkey use "RETURNS (serialno varchar(..) character set unicode".
Q2: "Numeric" seems to be strictly INTEGER, nothing else. Otherwise you get garbage, just tried it on 14.00.02.07.
You should opem an incident to either fix the function or the manuals :-)
As a workaround you can CAST the numeric column to a VARCHAR.
Q1: For a character inkey use "RETURNS (serialno varchar(..) character set unicode".
Q2: "Numeric" seems to be strictly INTEGER, nothing else. Otherwise you get garbage, just tried it on 14.00.02.07.
You should opem an incident to either fix the function or the manuals :-)
As a workaround you can CAST the numeric column to a VARCHAR.
Dieter