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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Compilation error

Re: Compilation error

From: Oleg Dimerman <olegd_at_e-mail.com>
Date: 1997/03/12
Message-ID: <3326EDA9.49C@e-mail.com>#1/1

Jean wrote:
>
> I have written the following procedure:
>
> create procedure andy as
> begin
> select 'aaa' from dual;
> end;
> /
>
> It compiles with error. I don't understand. Can anyone please enlighten
> me!!!!

You CAN'T return results sets from ORACLE stored procedures. You have to SELECT values 'into' variables.

-- 
____________________________________
Oleg Dimerman (olegd_at_e-mail.com)
Received on Wed Mar 12 1997 - 00:00:00 CST

Original text of this message

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