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: Ref Cursor question

Re: Ref Cursor question

From: Jonathan Lewis <jonathan_at_jlcomp.demon.co.uk>
Date: Sun, 7 Feb 1999 09:23:42 -0000
Message-ID: <918379402.4300.1.nnrp-11.9e984b29@news.demon.co.uk>

Your problem with the SQL that works from SQL*Plus but not in PL/SQL is the in-line view. Your version of Oracle is running at a level where PL/SQL is not yet capable of handling in-line views.

Your requirement for

>CREATE OR REPLACE PROCEDURE RETURN_RESULT_SET
> (oCursor IN OUT MyPkg.CursorType,
> AColumn IN VARCHAR,
> AValue IN VARCHAR) as
>BEGIN
> open oCursor for
> select * from ATable where AColumn like AValue||%
>END;
>

has to be handled using the dbms_sql package. Received on Sun Feb 07 1999 - 03:23:42 CST

Original text of this message

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