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...

what is the difference between procedure and function.

Answer Posted / plabana

1.StoreProcedure may return avalue may not return a value
but Function returns the value.
2.SttoreProcedure can be called independently using exec
keyword ,Function are called using select stmt.
3.StoreProcedure can create a table but can't return a table
where as Function can return a value.
4.Transaction related stmt can be handeled by StoreProcedure
Where as it can;t be handeled by Function.

Is This Answer Correct ?    17 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why normalization is used?

1007


How each E-R model constructs can be mapped to the relational model?

1002


Does dbcc checkdb requires db to be in single_user mode? : sql server database administration

975


Define clusters?

1075


How to drop an existing schema in ms sql server?

1100


What is the advantage of sql server?

1034


How to run sql server 2005 books online on your local system?

961


What are the operating modes in which database mirroring runs?

1088


What is the difference between a local and a global temporary table?

1118


How does normalization work?

917


Mention what are the different types of ssrs reports?

150


What is the difference between the application object and session object?

1066


What is difference between delete & truncate commands?

1081


What is the concept of optimization?

1060


Why and when do stored procedure recompile?

979