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 writing SQL query and stored procedure ?

Answer Posted / tmp

the main advantages is Execution Plan Retention and Reuse (SP are compiled and their execution plan is cached and used again to when the same SP is executed again)
http://blog.sqlauthority.com/2007/04/13/sql-server-stored-procedures-advantages-and-best-advantage/

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write query to return all rows sql?

1049


What is store procedure? How do they work?

1004


How can I get data from a database on another server?

985


If no size is defined while creating the database, what size will the database have?

984


Characterize join and name diverse sorts of joins?

964


What is co-related sub query?

1017


Mention the differences between substr and charindex in sql server.

1040


What is SubQuery in SQL Server 2008

1015


Where are full-text indexes stored?

985


Where the sql logs gets stored?

977


Is it possible for a stored procedure to call itself or recursive stored procedure?

944


What is provisioning, billing and metering, and connection routing concepts in the service layer?

113


what is the difference between writing data to mirrored drives versus raid5 drives. : Sql server administration

962


How to list all dsn entries on your local machine using odbc_data_source()?

1032


What are out-of-range errors with date and time literals?

1025