how do u call in & out parameters for stored procedures?
Answer Posted / ajit
create or replace procedure P_io ( I_num1 number,
o_num2 out number,
io_num3 in out number
)
is
begin
io_num3 := io_num3 + i_num1;
o_num2 := io_num3;
end;
/
Call this store procedure
--------------------------
declare
a number := 3;
b number;
c number := 7;
begin
P_io ( a, b, c);
dbms_output.put_line ( a||' '||b||' '||c);
end;
/
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why stored procedure is faster than query?
What are the events on which a database trigger can be based?
What are database links used for?
Explain what is a database?
What is pl sql quora?
how can you see all indexes defined for a table? : Sql dba
How do I run pl sql in sql developer?
Which is faster union or join?
What are user defined functions?
How are sql commands classified?
What is rowid in sql?
What is indexes?
What are its different types of dbms?
what are the differences between get and post methods in form submitting. Give the case where we can use get and we can use post methods? : Sql dba
What's the difference between a primary key and a clustered index?