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 sql profiler in oracle?

0 Answers  


Delete duplicate records in the emp table.

6 Answers   Oracle,


What are all the difference between Like and Contains ?

2 Answers   LG Soft,


Which are the different character-manipulation functions in sql?

0 Answers  


What are the two characteristics of a primary key?

0 Answers  






Which clause of an UPDATE statement allows you to affect only certain rows of a table? 1. The WHERE clause 2. The SET clause 3. The ROWS AFFECTED clause 4. The ORDER BY clause

6 Answers   HCL,


what does the t-sql command ident_incr does? : Transact sql

0 Answers  


What is sql partition function?

0 Answers  


what is the difference between to_char and to_date functions?

10 Answers   Infosys,


Explain the difference between sql and mysql.

0 Answers  


what is blob? : Sql dba

0 Answers  


What types of commands can be executed in sql*plus?

0 Answers  


Categories