How to view stored procedure using SQLPlus
429325Sep 14 2004 — edited Sep 15 2004I 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;