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 does it mean to have quoted_identifier on? : Sql dba

0 Answers  


how to see the oracle 9i/10g table in pc? or In my pc where the table is saved and how to see?

1 Answers  


Define sql delete statement.

0 Answers  


What is the Subquery?

4 Answers  


What is rownum and rowid?

0 Answers  






tell me about various levels of constraint. : Sql dba

0 Answers  


How to display Row Number with Records in Oracle SQL Plus?

0 Answers   MCN Solutions,


What is the difference between delete and truncate commands?

0 Answers  


What are pl/sql packages?

0 Answers  


How many joins in sql?

0 Answers  


What is execution plan in sql?

0 Answers  


Which are the different character-manipulation functions in sql?

0 Answers  


Categories