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

Explain the use of containers in ssis and also their types?

961


List few advantages of stored procedure.

979


Why do you want to join software field as you have done your BE in Electronics?

2137


Explain various On-Delete options in a DB table. Which is the default option?

1456


What are triggers in ms sql server?

1153


What is sql injection? How to protect against sql injection attack?

981


What is the difference between varchar and varchar(max) datatypes?

1060


what are the reporting service components in SSRS?

163


After creating the cube, if we added a new column to the oltp table then how you add this new attribute to the cube? : sql server analysis services, ssas

942


Explain microsoft sql server functions?

1098


What is the contrast between sql and mysql?

1100


What are horizontal and vertical scaling?

170


you notice that the transaction log on one of your databases is over 4gb the size of the data file is 2mb what could cause this situation, and how can you fix it? : Sql server administration

965


What is difference between cte and view?

902


Tell me extended events in sql server 2008?

988