vchar_to_cstr
Declaration
cstring function vchar_to_cstr(varchar V)
Description
vchar_to_cstr converts a varchar V to a cstring. The length of V must not
exceed 255 characters.
CREATE PROCEDURE test_cstr_plus_int(S varchar(20), I Integer)
RETURNS (result char(20)) AS
BEGIN
result = cstr_plus_int(vchar_to_cstr(s),I);
END!!
execute procedure test_cstr_plus_int("R96-",23)
RESULT
====================
R96-23