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 how exception handling is done in advance pl/sql?
How to use sql*plus built-in timers?
How do you identify a primary key?
What is the purpose of a sql?
How do I find duplicates in a single column in sql?
How do I find duplicates in two columns?
What are the triggers associated with image items?
What are the sql aggregate functions?
how to get a list of indexes of an existing table? : Sql dba
How do I create a sql script?
How do I truncate a sql log file?
Which are the different case manipulation functions in sql?
What is pl/sql table? Why is it used?
What is data modelling in sql?
what is data control language? : Sql dba