Can we use out parameter in function?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
What is sqlcommand?
What is audit logout in sql profiler?
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
Why we use stored procedure instead of query?
How do I trace sql profiler?
How is data stored on a disk?
What are the different types of dbmss?
What is a recursive join sql?
Which join is like inner join?
Can pl sql procedure have a return statement?
How does rowid help in running a query faster?