Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Q: any idea what are we missing ?

Q: any idea what are we missing ?

From: Amihay Gonen <AmihayG_at_ectel.com>
Date: Wed, 20 Sep 2006 08:22:55 +0300
Message-ID: <5A841A20A9085A4C984EADD0FF97BF3796227E@ectilex.ectel.com>

create or replace function t1 return number

is

   v_exists number(5):=0;

begin

   select 1

   into v_exists

   from dual where 1 = 0;

   return v_exists;

--exception

end t1;

/

select t1 from dual;

Expected: ORA-01403: no data found

Actual:

fraud_owner_at_E2E811> select t1 from dual

  2 /

        T1


fraud_owner_at_E2E811>

IMPORTANT: The contents of this email and any attachments are confidential and proprietary to ECtel Ltd. They are intended for the named recipient(s) only. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, use, distribution or copying of this communication is strictly prohibited and may be unlawful. If you have received this email in error, please notify us immediately by replying to the message and deleting it from your computer.
--

http://www.freelists.org/webpage/oracle-l Received on Wed Sep 20 2006 - 00:22:55 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US