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

Difference between Function and Stored Procedure?

Answer Posted / arunvs

stored procedure when executed generates execution plan
once and next time when it is executed again it will use
the generated execution plan,it does not generate it again.
sp used to solve a business logic

Function compiles from the beginning and prepares the trace
or execution each time it is called.function can be used to
calculations

Is This Answer Correct ?    5 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the parts of a function?

869


Explain how you can deploy an SSRS report?

135


create index myindex on mytable(mycolumn) what type of index will get created after executing the above statement? : Sql server database administration

892


What is unique key constraint?

987


Explain the concept of view and Types of views in SQL server?

938


What is a virtual table in sql?

939


What is scan table/view and seek table/view when its occurs? : sql server database administration

984


What stored procedure would you use to view lock information?

902


What is dynamic cursor in SQL SERVER?

1000


Where in ms sql server is ’100’ equal to ‘0’?

1017


What are the dis_advantages of stored procedures, triggers, indexes?

2170


What is difference between temp table and cte?

959


Explain the benefits of user-defined functions?

986


explain what is a schema in sql server 2005? Explain how to create a new schema in a database? : Sql server database administration

880


What is sql server query analyzer?

961