Re: Stored procedure with NOT PL/SQL
Date: Tue, 08 Dec 1998 02:14:04 GMT
Message-ID: <366C8B0F.17689BE7_at_bellsouth.net>
This isn't NT...I have 6 servers....trust me...just create a dummy variable
and get over it...heh heh
Frank Meng wrote:
> I want to create a stored procedure for
> SELECT * from MYTABLE
> When I use BEGIN & END command, Oracle asked me using INTO.
> I don't want to INTO some table, but only display it on the screen.
> When I don't use BEGIN & END with SQL Plus 8.0, I got the message:
> -------------------------------------
> PLS-00103: Encountered the symbol "SELECT" when expecting one of
> the following:
> begin function package pragma procedure subtype type use ...
> -------------------------------------
> Someone told me I must use a cursor to select only one record each time
> and
> use INTO.
> I can't believe it, because I can do it very easily with Microsoft SQL
> Server.
> Please tell me what is wrong to frankmeng_at_usa.net
> Thanks in advance.
> Frank
Received on Tue Dec 08 1998 - 03:14:04 CET