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
What is sql and its types?
What is compute?
What is database migration?
GLOBAL TEMPORARY TABLE over Views in advantages insolving mutating error?
What is an implicit commit?
What is trigger in flip flop?
How can you select unique records from a table?
What is audit logout in sql profiler?
How does a trigger work?
What is sqlservr exe?
What does select * from mean in sql?
Is primary key is clustered index?
What is the use of prepared statement?
What are literals in sql server?
How to test for null values?