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

Which is faster joins or subqueries?

0 Answers  


How do you delete a table?

0 Answers  


What are local and global Indexes and where they are useful.

0 Answers  


What is the difference between numeric and autonumber?

0 Answers  


what is the use of anchoring object? what r the difference between anchoring object & enclosing object? can any one tell me all the details?

0 Answers  






Differentiate between %type and %rowtype attribute in Oracle PL/AQL programming ?

7 Answers   PreVator,


why not null constraint showing its constraint type as 'c'

1 Answers  


What are the indexing methods?

0 Answers  


diff b/w function and procedure?

9 Answers   iFlex,


What is restrict in sql?

0 Answers  


What is difference between nchar and nvarchar?

0 Answers  


what is the difference between union and union all

14 Answers   IBM, Luxoft, Oracle,


Categories