Can we use out parameter in function?

Answers were Sorted based on User's Feedback



Can we use out parameter in function?..

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

Can we use out parameter in function?..

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

Can we use out parameter in function?..

Answer / abhishek

Yes we can use the out parameter in function. But it does
not as any use as the value will be return to the calling
statement by the keyword return.

Is This Answer Correct ?    8 Yes 4 No

Can we use out parameter in function?..

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

Post New Answer

More SQL PLSQL Interview Questions

What is oracle sql developer?

0 Answers  


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?

3 Answers  


How do you update a value in sql?

0 Answers  


how instead of triger is helpful for mutating tables errors handlling ?

2 Answers   Oracle,






how can i create a user defined datatype

3 Answers  


What is the difference between truncate and drop statements?

0 Answers  


what is a field in a database ? : Sql dba

0 Answers  


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

4 Answers   HCL,


what is the difference between blob and text? : Sql dba

0 Answers  


What is your daily office routine?

0 Answers   Data Vision,


Categories