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...
I have seen this behavior occur (different column lengths) when
the databases are different character sets.
See if one database is using a multi-byte characters set (such as UTF8) and the other is using a single byte character set.
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Thomas Day
Sent: Thursday, February 03, 2005 10:49 AM
To: CMarquez_at_aarp.org
Cc: oracle-l_at_freelists.org
Subject: Re: Different default 8i/9i column lengths when selecting
pseudo columns...
Hi guy. My results, obviously on windows. Try a describe on dual and see if someone has renamed the column. I haven't been able to reproduce your results.
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
PL/SQL Release 9.2.0.1.0 - Production
CORE 9.2.0.1.0 Production
TNS for 32-bit Windows: Version 9.2.0.1.0 - Production
NLSRTL Version 9.2.0.1.0 - Production
5 rows selected.
SQL> select 'xxxxx' from dual;
'XXXX
1 row selected.
SQL> col xxxxx format a20
SQL> select 'xxxxx' xxxxx from dual;
XXXXX
SQL> desc dual
Name =20 ----------------------------------- DUMMY =20
SQL> col dummy format a20
SQL> select 'xxxxx' from dual;
'XXXX
1 row selected.
SQL> select 'xxxxx' dummy from dual;
DUMMY
1 row selected.
-- http://www.freelists.org/webpage/oracle-l -- http://www.freelists.org/webpage/oracle-lReceived on Tue Feb 08 2005 - 10:33:11 CST