Georgipa,
From IDS 9.x up you can use the builtin cast functionality, like
integer::char(x) or
CAST(integer AS char(x)). Thus you can use string functions around it like:
Code:
SELECT length(integer::varchar(10))
FROM table
Works more straightforward than concatenation or other functions...
BTW. If you're talking about Informix 4GL: implicit casts are done by assigning a numeric value to a character variable so nothing special has to be done.
Regards