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

Home -> Community -> Usenet -> c.d.o.server -> Re: cursor using select from subquery

Re: cursor using select from subquery

From: Shane Murray <smurray_at_bah.com>
Date: 1997/02/04
Message-ID: <32f6b396.94694497@news>#1/1

Shouldn't you be using the syntax SELECT x,y,z INTO v_x,v_y,v_z ...

v_colums are variables you've declared.

>> However, if I want to use this query with a cursor within a
>> stored procedure:
>>
>> cursor c_usprobj is
>> select aup.usid, aup.program, obj.object_name
>> from (select usid, program
>> from users, programs ) aup,
>> program_objects obj
>> where obj.program = aup.program;
>>
Received on Tue Feb 04 1997 - 00:00:00 CST

Original text of this message

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