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 we rollback after truncate?
Can we group by two columns in sql?
What do you understand by pl/sql packages?
What is linq to sql?
How do I order columns in sql?
how to extract a unit value from a date and time? : Sql dba
What are all the different normalizations?
How do you define a foreign key?
How to write a query to show the details of a student from students table whose
How do I run pl sql in sql developer?
how to enter characters as hex numbers? : Sql dba
What are the string functions in sql?
what is try_catch block in procedure
how tsql statements can be written and submitted to the database engine? : Transact sql
what is meant by nl2br()? : Sql dba