function can return value ,procedure also return value through
out parameter then what is the difference?

Answers were Sorted based on User's Feedback



function can return value ,procedure also return value through out parameter then what is the diff..

Answer / dinakar

Though a procedure returns a value through OUT parameter,
it cannot be used in a SELECT statement. Whereas a function
can be used in a SELECT statement.

Is This Answer Correct ?    10 Yes 1 No

function can return value ,procedure also return value through out parameter then what is the diff..

Answer / veena

We can use function in select statement but we can't use
procedure in select statement.

Is This Answer Correct ?    1 Yes 0 No

function can return value ,procedure also return value through out parameter then what is the diff..

Answer / damodharan

function should always return only one value
but procedure may return a value value it may one or more
than one value

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

What problem one might face while writing log information to a data-base table in pl/sql?

0 Answers  


Which type of cursor is used to execute the dml statement?

0 Answers  


How many columns should be in an index?

0 Answers  


What are the new features in Oracle 10g. Compared to Oracle 9i?

1 Answers   Polaris,


Explain the advantages and disadvantages of stored procedure?

0 Answers  






What is sql rowcount?

0 Answers  


Explain what is sql?

0 Answers  


what are Dynamic SQL statements?

9 Answers  


Which one is better subquery or joins?

0 Answers  


What is sql exception?

0 Answers  


What is the most important ddl statements in sql are?

0 Answers  


What is the purpose of a sql?

0 Answers  


Categories