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

If you have to declare procedure1,procedure2 in package specification and if you have to declare procedure1,procedure2 and procedure3 in package body? is it compilation or not and execute or not? what type of error is given please

1 Answers  


What is procedure function?

0 Answers  


what is the difference between myisam static and myisam dynamic? : Sql dba

0 Answers  


What is the difference between rollback and rollback to statements?

0 Answers  


How do I find duplicates in two columns?

0 Answers  


What is NOCOPY?

6 Answers   DELL,


How to improve the performance of a pl/sq stored procedures or functions or triggers and packages ?

12 Answers   IBM, TCS, UHD,


What is the difference between SQL Constraint and PL/SQL constraint.Pls give all the constraint name.

3 Answers   TCS,


table having two columns - entity,zone enity zone pen east pen west pen north pen south pen east pencil east pencil east pencil west I want the output as : entity east west north south pen 2 1 1 1 pencil 2 1 0 0

2 Answers  


How much does a sql dba make? : SQL DBA

0 Answers  


What are the benefits of pl/sql packages?

0 Answers  


Where are my tempfiles, I don't see them in v$datafile or dba_data_file?

0 Answers  


Categories