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
How many disk partitions should I have?
What is recursive stored procedure?
a table has 2 classifications 1)liabilities 2)earnings this liabitity has 2 elements with 2 input values and the earnings have 2 elements with 2 input values i wrote a query so that my input is liability savings amount1 amount2 xxxx null xxxxxx 0 xxx1 null xxxxx1 0 null yyyy 0 yyyy null yyy1 0 yyy1 my problem is --when i developed a report(d2k) with this data my o/p is liabilities,amount1,savings,amount2 xxxx xxxxxx xxx1 xxxxx1 yyyy yyyy yyy1 yyy1 how could i move this savings,savings values 2 palces up. can any body provide me witha better solution
What packages are available to pl/sql developers?
Explain the uses of control file.
How much does sqlite cost?
What is function and procedure in pl sql?
When sql appeared?
What is an exception in pl/sql?
Does mysql support pl sql?
how to convert character strings to dates? : Sql dba
How you improve the performance of sql*loader? : aql loader
What is recursive join in sql?
What is java sql package?
what is 'mysqladmin' in mysql? : Sql dba