RE: Different default 8i/9i column lengths when selecting pseudo columns...

  • From: "Mercadante, Thomas F" <thomas.mercadante@xxxxxxxxxxxxxxxxx>
  • To: "'CMarquez@xxxxxxxx'" <CMarquez@xxxxxxxx>, oracle-l@xxxxxxxxxxxxx
  • Date: Wed, 2 Feb 2005 08:39:46 -0500

Chris,

I just tried this in my 817 and 9203 databases and get different results
than you.  Both my queries return a row like your 817 example - that is 5
chars in length.

Maybe you have a glogin.sql script that is setting a column length for you
in 92 but not in 817?

Tom


-----Original Message-----
From: Marquez, Chris [mailto:CMarquez@xxxxxxxx] 
Sent: Tuesday, February 01, 2005 5:19 PM
To: oracle-l@xxxxxxxxxxxxx
Subject: Different default 8i/9i column lengths when selecting pseudo
columns...


Different default 8i/9i column lengths when selecting pseudo columns...

This is the issue...
=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=20
8.1.7 SQL*Plus=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
SQL> select 'xxxxx' from dual;
'XXXX
-----
xxxxx

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=20
9.2.0 SQL*Plus=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=20
SQL> select 'xxxxx' from dual;

'XXXXX'
--------------------------------
xxxxx

How do I change the default behavior in 9i to "stop" the column at the
end of the last character of the pseudo columns (like 8i default)?

Thanks

Chris Marquez
Oracle DBA
HEYMONitor(tm) - heymonitor.com
"Oracle Monitoring & Alerting Solution"
--
//www.freelists.org/webpage/oracle-l
--
//www.freelists.org/webpage/oracle-l

Other related posts: