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: Newbie Question: Simple Stored Procedure

Re: Newbie Question: Simple Stored Procedure

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Thu, 30 Mar 2000 20:52:08 +0200
Message-ID: <954442783.11740.1.pluto.d4ee154e@news.demon.nl>


You need to
either give up mssql habits
or use a ref cursor
Refer to http://osi.oracle.com/~tkyte/ResultSets/index.html or the Oracle docs.

Hth,

Sybrand Bakker, Oracle DBA

Louis <frolio_at_videoshare.com> wrote in message news:8c06pi$ad4$1_at_bob.news.rcn.net...
> Greeting All, I have a table schema.table which has
> many rows of data. I want to write a simple stored
> procedure that will pull all the rows from this table;
>
> create or replace procedure schema.procedure
> as
> begin
> select * from schema.table
> end;
> /
>
> When I run the above script I get all kinds of compilation
> errrors?? Can anyone help me with the above procedure?
>
> Much Thanks, Louis
> frolio_at_videoshare.com
>
>
Received on Thu Mar 30 2000 - 12:52:08 CST

Original text of this message

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