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 ?    9 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 sqlcommand?

0 Answers  


What is audit logout in sql profiler?

0 Answers  


Query for second maximum salary in each in each department

15 Answers   DST Global Solutions, TCS,


What is the most restrictive isolation level? : Transact sql

0 Answers  


Why we use stored procedure instead of query?

0 Answers  


How do I trace sql profiler?

0 Answers  


How is data stored on a disk?

0 Answers  


What are the different types of dbmss?

0 Answers  


What is a recursive join sql?

0 Answers  


Which join is like inner join?

0 Answers  


Can pl sql procedure have a return statement?

0 Answers  


How does rowid help in running a query faster?

0 Answers  


Categories