From oracle-l-bounce@freelists.org  Wed Feb  2 10:40:03 2005
Return-Path: <oracle-l-bounce@freelists.org>
Received: from air891.startdedicated.com (root@localhost)
 by orafaq.com (8.12.10/8.12.10) with ESMTP id j12Ge2A5023812
 for <oracle-l@orafaq.com>; Wed, 2 Feb 2005 10:40:03 -0600
X-ClientAddr: 206.53.239.180
Received: from turing.freelists.org (freelists-180.iquest.net [206.53.239.180])
 by air891.startdedicated.com (8.12.10/8.12.10) with ESMTP id j12Ge2em023808
 for <oracle-l@orafaq.com>; Wed, 2 Feb 2005 10:40:02 -0600
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 695C46C863;
 Wed,  2 Feb 2005 10:39:07 -0500 (EST)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 02066-08; Wed, 2 Feb 2005 10:39:07 -0500 (EST)
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id D5A306C8E9;
 Wed,  2 Feb 2005 10:39:06 -0500 (EST)
X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0
Content-Class: urn:content-classes:message
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
Subject: RE: Different default 8i/9i column lengths when selecting pseudo columns...
Date: Wed, 2 Feb 2005 10:36:20 -0500
Message-ID: <7E412C164E6ECB468834A39F31E6E0D406689035@mbs06dc.na.aarp.int>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Different default 8i/9i column lengths when selecting pseudo columns...
Thread-Index: AcUJLNZjXYKWZKKUReCcCsuVbB4FFgAAXgQQAANc4BA=
From: "Marquez, Chris" <CMarquez@aarp.org>
To: "Lex de Haan" <lex.de.haan@naturaljoin.nl>,
        <thomas.mercadante@labor.state.ny.us>, <oracle-l@freelists.org>
X-OriginalArrivalTime: 02 Feb 2005 15:36:20.0976 (UTC) FILETIME=[F1D31F00:01C5093C]
X-archive-position: 15678
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-To: oracle-l-bounce@freelists.org
X-original-sender: CMarquez@aarp.org
Precedence: normal
Reply-To: CMarquez@aarp.org
X-list: oracle-l
X-Virus-Scanned: by amavisd-new-20030616-p9 (Debian) at avenirtech.net
X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on 
 air891.startdedicated.com
X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL,HOT_NASTY autolearn=ham 
 version=2.60
X-Spam-Level: 


Lex

>>not relying on...version-specific tool behavior=20
>>explicitly telling the tool how you want to see your results?

I would agree 100%, but the script owner asked me "look into" the Oracle
difference.
So let just stop this logical thought right there. :O|

>>- Change CURSOR_SHARING to EXACT.
Yup...had this issue with another database...but not the issue this
time.


Tom

>>I just tried this in my 817 and 9203=20
>>queries return a row like your 817 example - that is 5 chars in
length.
>>Maybe you have a glogin.sql script...

The glogin.sql was the first place I looked...using the default 9i
glogin.sql script?
AND I competed the difference between my 8i and 9i glogin.sql scripts
only 4 diff's and I set or tried setting the equal...no help!?

Thanks for the test...I'm going to test on a different set of servers?


Chris Marquez
Oracle DBA
HEYMONitor(tm) - heymonitor.com
"Oracle Monitoring & Alerting Solution"


-----Original Message-----
From: Lex de Haan [mailto:lex.de.haan@naturaljoin.nl]=20
Sent: Wednesday, February 02, 2005 8:56 AM
To: thomas.mercadante@labor.state.ny.us; Marquez, Chris;
oracle-l@freelists.org
Subject: RE: Different default 8i/9i column lengths when selecting
pseudo columns...


one more idea comes to mind: are you using cursor sharing, by any
chance? see Metalink, bug 2092801, for an issue that might hit you ...

the workarounds listed in that bug are:
- Use the FORMAT command to set explicit column widths.
- Change CURSOR_SHARING to EXACT.
- Flush the shared pool.

cheers,
=20
Lex.
=20
----------------------------------------------------------------
Tom Kyte Seminar: http://www.naturaljoin.nl/events/seminars.html
----------------------------------------------------------------
=20

-----Original Message-----
From: oracle-l-bounce@freelists.org
[mailto:oracle-l-bounce@freelists.org]
On Behalf Of Mercadante, Thomas F
Sent: Wednesday, February 02, 2005 14:40
To: 'CMarquez@aarp.org'; oracle-l@freelists.org
Subject: 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@aarp.org]
Sent: Tuesday, February 01, 2005 5:19 PM
To: oracle-l@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...
=3D20
=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D=
3D=3D3D=3D3D=3D20
8.1.7 SQL*Plus=3D20 =
=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D=
3D=3D3D=3D3D
SQL> select 'xxxxx' from dual;
'XXXX
-----
xxxxx

=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D=
3D=3D3D=3D3D=3D20
9.2.0 SQL*Plus=3D20 =
=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D=
3D=3D3D=3D3D=3D20
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"
--
http://www.freelists.org/webpage/oracle-l
--
http://www.freelists.org/webpage/oracle-l
--
http://www.freelists.org/webpage/oracle-l

