Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 normalization in a database?

0 Answers  


How to fetch the rows by dynamicaly passing table name through cursor?

3 Answers  


How can we schedule the procedure to run automatically ?

3 Answers  


Can you inner join the same table?

0 Answers  


How to use sql statements in pl/sql?

0 Answers  


What is scope and visibility in PL/SQL?

0 Answers  


what is try_catch block in procedure

0 Answers  


What are the different types of triggers?

0 Answers  


Can a commit statement be executed as part of a trigger?

0 Answers  


Where are my tempfiles, I don't see them in v$datafile or dba_data_file?

0 Answers  


how to shutdown mysql server? : Sql dba

0 Answers  


What is a package ? What are the advantages of packages ?

2 Answers   Symphony,


Categories