Go to the FreeLists Home Page Home Signup Help Login
 



[oracle-l] || [Date Prev] [08-2005 Date Index] [Date Next] || [Thread Prev] [08-2005 Thread Index] [Thread Next]

RE: SQL*Net & ORA-01403

  • From: "Billy Verreynne (JW)" <VerreyB@xxxxxxxxxxxx>
  • To: <oracle-l@xxxxxxxxxxxxx>
  • Date: Tue, 2 Aug 2005 09:27:31 +0200
Brian Wisniewski wrote:

> Why the error msg but nothing popped to the screen - especially when
valid data is returned?

Brian, that's the resulting packet/response from Oracle when the eof
of a cursor is reached.

E.g doing the last FETCH in PL/SQL does not return data. The cursor
loop is then terminated via an EXIT WHEN C%NOTFOUND. That last FETCH
results in a NO_DATA_FOUND response from the Oracle server session.
But this is not treated as an exception by the client as it is
expecting to hit the eof of that cursor sooner or later.

Run ethereal and sniff a SQL*Plus session to verify - pretty
interesting stuff.

--
Billy

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
http://www.freelists.org/webpage/oracle-l




[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.