Can we use out parameter in function?
Answers were Sorted based on User's Feedback
Answer / anoop
Yes we can use out parameter in functions, it is of great
use when we intend to return more than one value from a
function.
Is This Answer Correct ? | 16 Yes | 4 No |
Answer / reddyreddy143
1.Yes we can use out parameters in a function.but we have
to assign the out parameter value to the return datatype.
2.But when we use out parameters in function we can't call
the function from a select statement
Is This Answer Correct ? | 10 Yes | 0 No |
Answer / suresh babu
Yep,we can use the out parameter in Function,the Function won't show the error when using the out parameter.But it is meaningless.The Function,which used the out parameter never return the result.The IN parameter only useful for Functions.
Is This Answer Correct ? | 0 Yes | 0 No |
What is oracle sql developer?
i have a table like this. i want to output like this c1 c2 c1 c2 1 10 1 10 2 20 2 30 3 30 3 60 4 40 4 100 5 5 5 105 c1 and c2 are columns in a table .i want output like this c2 values are 10,10+20,10+20+30,10+20+30+40.10+20+30+40+5. write a sql query.pls help this i want urgent.
2 Answers IBM, Loginworks, OFSS,
What are the data types allowed in a table?
How do you update a value in sql?
how instead of triger is helpful for mutating tables errors handlling ?
how can i create a user defined datatype
What is the difference between truncate and drop statements?
what is a field in a database ? : Sql dba
I have 2 packages A and B. Now package A references Package B and Package B references Package A. How do you compile such inter-dependent objects in PL/SQL
5 Answers Doyensys, Infosys, Metric Stream,
What is the Diff b/w Constraints and Trigeer
what is the difference between blob and text? : Sql dba
What is your daily office routine?