will function return more than one value how

Answers were Sorted based on User's Feedback



will function return more than one value how..

Answer / murali

Yes. By using Out Parameter we can return morethan one value.

Is This Answer Correct ?    20 Yes 11 No

will function return more than one value how..

Answer / chaitra

A function can return more than one value if the function
is returning a data structure like PL/SQL Table, REF CURSOR
etc.
But returning more than one value by the use of OUT
parameter cannot be done as this fails when the function is
called from an SQL statement ( as in where var = fn(..)).

Is This Answer Correct ?    9 Yes 1 No

will function return more than one value how..

Answer / rahul

To get more then two values from a function use a data
structure like record or VARRYs to get more then one value
from function

Is This Answer Correct ?    6 Yes 1 No

will function return more than one value how..

Answer / t p tripathy

yes function will return more than one value by using ref
cursor.

Is This Answer Correct ?    6 Yes 2 No

will function return more than one value how..

Answer / suresh mallipeddi

using oracle collections like varrays or records function
return more then value

Is This Answer Correct ?    3 Yes 0 No

will function return more than one value how..

Answer / prashant tripathi

yes, function can return more then one value.
murali is write but.... it is not a good progrmming way.

Sakthivel is also write that....function must return one
value.

My Answer :

fucntion can return more then one value but in the if-else
condition. it return one value at a time. but it can return
more than one value.

Is This Answer Correct ?    5 Yes 3 No

will function return more than one value how..

Answer / vikas

Yes,it is possible by creating function table.

Is This Answer Correct ?    1 Yes 0 No

will function return more than one value how..

Answer / bolearner

Can someone give an answer with good example for this question.

Is This Answer Correct ?    0 Yes 0 No

will function return more than one value how..

Answer / sakthivel

NO,we cannot use inout,out parameters in functions. so
function must return one value

Is This Answer Correct ?    7 Yes 27 No

Post New Answer

More SQL PLSQL Interview Questions

how to create object in plsql

2 Answers   TCS,


Is sql sequential or random?

0 Answers  


In table a 1lakh data is present,in table b 20 thousand data is present, to get unique data from table a and b which join to be considered. whether right outer join or left inner join. 

2 Answers   GE,


What is the execution plan in sql?

0 Answers  


Are subqueries faster than joins?

0 Answers  






Can We write bulk collect statement in triggers?

1 Answers   Polaris,


What is the primary key?

0 Answers  


What are the types of keys?

0 Answers  


What if we write return in procedure?

0 Answers  


What is oracle sql called?

0 Answers  


Can you have more than one trigger on a table?

0 Answers  


i have a table eno dno sal 1 10 200 2 10 150 3 10 100 4 20 75 5 20 100 i want to get sal which is less than the avg sal of thri dept. eno dno sal 2 10 150 3 10 100 4 20 75

12 Answers   IBM,


Categories