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 are records give examples?
What is varchar sql?
What is a nested table in word?
Is it possible to read/write files to-and-from PL/SQL?
What is the sql query to display the current date?
what is cross join? : Sql dba
What is on delete set null?
What is the maximum rows in csv?
What is left join in postgresql?
What is trigger types of trigger?
How do I write a cron which will run a sql query and mail the results to agroup?
Can we use loop in sql?
What is orm in sql?
Is natural join same as inner join?
what is a trigger? : Sql dba