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 does varchar include?
Explain the commit statement.
what are the maximum number of rows that can be constructed by inserting rows directly in value list? : Transact sql
How do you respond to dementia behavior?
What is informix sql?
Can we join two tables without common column?
Are subqueries better than joins?
How can you view the errors encountered in a trigger?
Explain dml and ddl?
Is a secondary key the same as a foreign key?
What is sql and db2?
Which kind of parameters cannot have a default value in pl sql?
what happens if null values are involved in expressions? : Sql dba
How to use boolean type in select statement?
Which column in the user.triggers data dictionary view shows that the trigger is a pl/sql trigger?