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: Seeing results of stored procedure

Re: Seeing results of stored procedure

From: rajXesh <member11038_at_dbforums.com>
Date: Fri, 17 Jan 2003 14:42:17 +0000
Message-ID: <2402873.1042814537@dbforums.com>

Heres whats going on

facility_out_rec is not a out parameter therefore pouplating it is of no use. Your out parameter is: facility_out_cur.

You are not populating the your out parameter 'facility_out_cur' anywhere in your procedure.

There is no need to declare the cursor, just open it. Just having it as an out parameter is sufficient. There is also no need to fetch from it. The program calling your procedure will fetch from it and close the cursor.

Study the examples that Dan Morgan or Tom Kyte have provided. Those should give you a better idea of what's what.

--

All you need in this life is ignorance and confidence, and then success is sure. -- Mark Twain (1835 - 1910)

Posted via http://dbforums.com Received on Fri Jan 17 2003 - 08:42:17 CST

Original text of this message

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