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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: this drove me crazy!!!

RE: this drove me crazy!!!

From: Rao, Maheswara <Maheswara.Rao_at_Sungardp3.com>
Date: Sat, 17 Feb 2001 07:16:20 -0800
Message-ID: <F001.002B7691.20010217065520@fatcity.com>

 Saurabh,

When I created this function fist time, I also got error. Then I created emp table (in test schema) and then again created the function. This second time, the fuction is created without any errors.

And I found this idea acadamically good. However, usage of this in real time might be minimal (I believe).

Rao

-----Original Message-----
To: Multiple recipients of list ORACLE-L Sent: 02/17/2001 7:25 AM

but this function is created with compilation errors.. ----- Original Message -----
To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> Sent: Tuesday, February 13, 2001 1:15 AM

>
>
> I can do it.
> SQL> create or replace function dumb
> 2 return number is
> 3 pragma autonomous_transaction;
> 4 begin
> 5 insert into emp (empno) values (10);
> 6 commit;
> 7 return 0;
> 8 end;
> 9 /
>
> Function created.
>
> Try a few of these:
>
> SQL> select empno
> 2 from emp
> 3 where dumb=0 and
> 4 empno < 20;

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Rao, Maheswara
  INET: Maheswara.Rao_at_Sungardp3.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Sat Feb 17 2001 - 09:16:20 CST

Original text of this message

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