Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to view stored procedure using SQLPlus

429325Sep 14 2004 — edited Sep 15 2004
I have created the following stored procedure in Oracle, I would like to know how to view this stored procedure using SQLPlus:

CREATE PROCEDURE get_product_code(prod_no IN VARCHAR2) IS
CURSOR Getno IS
<my_query_goes_here>
BEGIN
For Getno_cur IN Getno LOOP
DBMS_OUTPUT.PUT_LINEGetno_cur.name);
END LOOP;
END;
.
run;

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 13 2004
Added on Sep 14 2004
2 comments
1,064 views