RE: Executing wrong sql

From: Bort, Guillermo <guillermo.bort_at_eds.com>
Date: Fri, 10 Oct 2008 11:38:26 -0500
Message-ID: <785A4E1EF4D9E745BAC909B7941BEC00985875@usplm201.amer.corp.eds.com>


I have seen a database returning the wrong values to an application when using cursor sharing on force. What's the value of CURSOR_SHARING on this database?  

I think that the code would help but I understand that you can't usually publish copyrighted code.  

Guillermo Alan Bort

DBA / DBA Main Team  

EDS, an HP company

ITO Arias 1851

Ciudad Autonoma de Buenos Aires (C1429DXC)

Argentina  

Tel: +54 11 4704-3132

E-mail: guillermo.bort_at_eds.com <mailto:name.name_at_eds.com>  

We deliver on our commitments

so you can deliver on yours.  

From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Sandra Becker Sent: Friday, October 10, 2008 1:11 PM
To: oracle-l
Subject: Executing wrong sql  

I have a developer trying to run an SQL script against a test database that is picking up the wrong sql instead of what is really in my PL/SQL script. What's really strange to me is that if I set echo on, I can see the code it should be executing, not what it is really executing. Could this be due to a cursor left open? I've never seen this behavior before so I'm a bit lost on where to look.  

If I run the same script against another test database, it works like it's supposed to. The developer also tells me that this code worked on this database until we bounced it yesterday.  

Our environment for both databases: Oracle 10.2.0.3, SuSE10, IBM z9 VM  

Any suggestions will be appreciated.  

Sandy    

--
http://www.freelists.org/webpage/oracle-l
Received on Fri Oct 10 2008 - 11:38:26 CDT

Original text of this message