Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Different default 8i/9i column lengths when selecting pseudo columns...
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_at_aarp.org]
Sent: Tuesday, February 01, 2005 5:19 PM
To: oracle-l_at_freelists.org
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
=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'
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"
-- http://www.freelists.org/webpage/oracle-l -- http://www.freelists.org/webpage/oracle-lReceived on Wed Feb 02 2005 - 08:42:28 CST