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 cross join example?

0 Answers  


What is compound trigger?

0 Answers  


What is the difference between delete and truncate commands?

0 Answers  


I Defined SP1, Sp2 (sp=StoreProcedures)In Package Specification but I Implemented Sp1, sp2, sp3, sp4, sp5 then What type of Error You will find????

3 Answers   Infosys,


what is the different between unique+not null & primary key,

4 Answers  






what are date and time data types? : Sql dba

0 Answers  


How do you concatenate in sql?

0 Answers  


I have a CURSOR then why we need BULK COLLECT again?

1 Answers  


What is rowtype?

0 Answers  


Write a sql query to find the names of employees that begin with ‘a’?

0 Answers  


Can we group by two columns in sql?

0 Answers  


suppose u hav 1 book with set...page 1-100 n 101 -200 now print page from 2-100 n 102 -200... how we will do..?

6 Answers  


Categories