-
Website
http://awads.net/wp/ -
Original page
http://awads.net/wp/2005/08/10/adding-in-parameter/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
jgarry
3 comments · 1 points
-
Andy C
22 comments · 47 points
-
dahowlett
1 comment · 2 points
-
Don Seiler
9 comments · 1 points
-
davidhaimes
4 comments · 3 points
-
-
Popular Threads
scott@Robert> create or replace procedure test_proc
2 (param1\_in in number, param2\_in in number := 1, param2\_out out varchar2)
3 as
4 begin
5 param2\_out := 'done';
6 end;
7 /
scott@Robert> declare
2 value\_out varchar2(20);
3 begin
4 test\_proc (param1\_in => 1, param2\_out => value\_out);
5 dbms\_output.put_line(value\_out);
6 end;
7 /
done
"Normally, I do not create procedures. I always use packages."
What do you mean by that? You create packages with stored procedures inside them?
What if you cannot or do not want to change how you call the procedure. At work, I have one procedure that is called by 20 others. I do not have access to the other 20 calling procedures and they do not use named notation in their calls. Now I want to add a new IN parameter to the called procedure. What shall I do? That's what I'm trying to solve here.
_What do you mean by that?_
Sorry, I was not clear. I meant I always avoid standalone procedures and functions. I always create my procedures and functions inside packages. [Here](http://www.oracle.com/technology/oramag/oracle/05-may/o35plsql.html) is a good article by Steven Feuerstein about this subject.
The permalink address for that entry has changed (so much for the perma part of that name!).
It's now: http://robertbaillie.blogspot.com/2005/08/named...