how do u call in & out parameters for stored procedures?
Answer Posted / soujanya
See the example below...
create or replace procedure addn(a in number,b in number, c
out number)
is
begin
c:=a+b;
dbms_output.put_line(c);
end addn;
Now we can call the in and out parameters as
declare a variable for the out parameter as
var n number;
exec addn(5,10,:n);
print n;
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
what is 'mysqladmin' in mysql? : Sql dba
Why primary key is required?
What does bitemporal mean?
what are the limitations of mysql in comparison of oracle? Mysql vs. Oracle. : Sql dba
What does truncate mean in sql?
What are triggers in sql?
What is the difference between unique and primary key constraints?
What is graph sql?
How do I upgrade sql?
Does google use sql?
What is pls_integer in pl sql?
Explain foreign key in sql?
What is scalar data type in pl sql?
Explain exception handling in pl/sql?
How does a trigger work?