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
Explain the rollback statement?
What is restrict in sql?
Which one is faster ienumerable or iqueryable?
Is oracle sql free?
What happens when a trigger is associated to a view?
Enlist the data types that can be used in pl/sql?
Does sql support programming?
What is mutating sql table?
how to drop an existing index in mysql? : Sql dba
What is pl sql package?
What is the difference between cross join and natural join?
What is the main reason behind using an index?
Why do we use sql constraints? Which constraints we can use while creating database in sql?
What is auto increment feature in sql?
Can we write dml inside a function in sql server?