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

Can we have exception part in trigger ?

1 Answers  


is mysql query is case sensitive? : Sql dba

0 Answers  


Why is a primary key important?

0 Answers  


what is the difference between char and varchar data types? : Sql dba

0 Answers  


What is the best free sql database?

0 Answers  






How can I get the number of records affected by a stored procedure?

0 Answers  


What is a temporal table?

0 Answers  


How many types of primary keys are there?

0 Answers  


What sql does db2 use?

0 Answers  


What is sql table?

0 Answers  


which types of join is used in sql widely? : Sql dba

0 Answers  


What is PL/SQL table ?

6 Answers  


Categories