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

How to load data with sql*loader?

0 Answers  


what is the command for user data type?

2 Answers  


What are expressions?

0 Answers  


What is extent clause in table space?

1 Answers   TCS,


What is a recursive stored procedure?

0 Answers  






what the meaning of sql

8 Answers  


What is sql and db2?

0 Answers  


What is the execution plan in sql?

0 Answers  


What is indexing oracle sql?

0 Answers  


What is user define exception and example

1 Answers   HP, KP,


How do I view a view in sql?

0 Answers  


Can instead of triggers be used to fire once for each statement on a view?

0 Answers  


Categories