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 is pl sql script?

0 Answers  


What is the need of a partition key?

0 Answers  


Types of cursor locks and explanation each of them ?

3 Answers   DELL, HP Finsoft,


What is count * in sql?

0 Answers  


Can a varchar be a primary key?

0 Answers  






How do you use join?

0 Answers  


i have a table with column sno with 30 records. i want to update this column by item by item in asp.net. i wantto enter new values into that from 1 to 30 how is it possible with backend c#

1 Answers  


What is raid? How does it help storage of databases?

0 Answers  


How can we implement rollback or commit statement in a trigger?

0 Answers  


What is sql dialect?

0 Answers  


What is multiple partition?

0 Answers  


how i do the database testing of online money transactions between two parties (client and organization). suppose our company makes a website for our client and give a extra feature of online money transaction with there clients then how i test this feature in database testing

1 Answers  


Categories