|
At
least you can do:
SELECT
'>' || truncated_fixfld || '<' FROM (SELECT TRUNC(fixfld) as
truncated_fixfld FROM table)
if you
want simple truncation (although even this looks a little bit
ugly).
If you
want, e.g. 8.00 as 8 and 8.10 as 8.1 and 8.13 as 8.13 you may
use
select
'<' || RTRIM(RTRIM(fixfld,'0'),'.') || '>' from table
Regards
Alexander Schröder
SAP DB, SAP Labs Berlin
|
