Re: PL/SQL how-to procedure
From: Lun Wing San (Oracle) <"Lun>
Date: 1997/03/31
Message-ID: <334031D6.55B8_at_qrcsun.qrc.org>#1/1
Date: 1997/03/31
Message-ID: <334031D6.55B8_at_qrcsun.qrc.org>#1/1
CG wrote:
>
> ...Can anyone tell me if it is possible to create a procedure
> with a simple 'select' statement ?... ie. select * from table_a;
You must use INTO clause if this statement is in the procedure body. On the other hand, if you use this statement in the declaration of a cursor, no INTO clause is required.
--- Name : Lun Wing San (Certified Oracle Database Administrator) Title : Oracle Database Administrator and System Administrator of QRC Phone : (852)27885841 This posting represents the personal opinions of the author. It is not the official opinion or policy of the author's employer. Warranty expired when you opened this article and I will not be responsible for its contents or use.Received on Mon Mar 31 1997 - 00:00:00 CEST