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 database white box testing and black box testing?
What are the types of sql commands?
How to rename a column in the output of sql query?
is it possible to pass an object or table to a procedure as an argument?
What is sqlcontext?
What is the default isolation level in sql server? : Transact sql
Explain how you can copy a file to file content and file to pl/sql table in advance pl/sql?
Explain what is a database?
what are the different type of normalization? : Sql dba
What is acid property in a database?
What are conditional predicates?
What is trigger in sql? Explain
What is autocommit sql?
What are the types of keys?
Can one improve the performance of sql*loader? : aql loader