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
Can primary key be changed?
What is a sql profiler?
What is the non-clustered index in sql?
how to create a test table in your mysql server? : Sql dba
What is triggering circuit?
Which are the different types of indexes in sql?
How do you drop a trigger?
Does view store data in sql?
What operating systems are supported by oracle sql developer?
What is a sql*loader control file?
What is the difference between a primary key and a unique key?
Where is sql database stored?
What is difference between sql and mysql?
Can we create index on primary key?
Can we call dml statement in function?