Paste the statement used to create the function, and the results of DSPFFD
of that field from the file:

Create function CharOrder
(numb DEC)
Returns char
language SQL
returns null on null input
declare numb dec(8);
declare alpha varchar(7);
set alpha =
Substr(Space(7), 1, 7 - Length(Trim(Char(numb)))) Concat
Return alpha;
AIORDER ZONED 8 0 8 42 Both Order Number
Field text . . . . . . . . . . . . . . . : Order Number

Rob Berendt

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].