R. Spitz
2016-08-04 06:39:16 UTC
Hi Informixers,
the following little sql scripts results in unexpected formatting of output columns in dbaccess:
create table try(nr integer);
insert into try(nr) values(1);
select nr as n, to_char(nr,"#") as c
from try
Since the to_char function results in a column that's only 1 character wide, the result of the query should fit within the default 80 columns of dbaccess and display in one line with two columns. However, dbaccess interprets it as "too wide" and displays the result in two lines.
I'm getting this result with "DB-Access Version 12.10.FC1WE" and "DB-Access Version 12.10.FC3WE", both running on SLES 11 SP4. Bug or feature?
Regards, Richard
the following little sql scripts results in unexpected formatting of output columns in dbaccess:
create table try(nr integer);
insert into try(nr) values(1);
select nr as n, to_char(nr,"#") as c
from try
Since the to_char function results in a column that's only 1 character wide, the result of the query should fit within the default 80 columns of dbaccess and display in one line with two columns. However, dbaccess interprets it as "too wide" and displays the result in two lines.
I'm getting this result with "DB-Access Version 12.10.FC1WE" and "DB-Access Version 12.10.FC3WE", both running on SLES 11 SP4. Bug or feature?
Regards, Richard