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 / kshitij s. nirmaley

query and stored procedure do the same thing but the
difference is that a query should be compiled every time the
query is executed, while the stored procedure is in compiled
form when executed first time .If we use stored procedure
we can avoid recompilation of the query.

Is This Answer Correct ?    23 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to throw custom exception in Stored Procedure?

1046


What is difference between clustered and non clustered index?

989


How to see existing views in ms sql server?

1049


hi, how to link a text file and a .rpt file in my tables of sql server and to retrieve those records for further use. reply me as soon as possible.

2071


How to loop through returning rows?

1039


How to change server name in sql server?

1189


How do I find the default sql server instance?

945


Why would you call update statistics?

1023


How to send email from database?

1018


How do we know if any query is retrieving a large amount of data or very little data?

979


How to write a query with a full outer join in ms sql server?

1086


What are the basic functions for master, msdb, model, tempdb and resource databases?

995


What to perform pattern match with the like operator?

886


What is the new security features added in sql server 2016? : sql server security

1120


What is a constant or literal in ms sql server?

1049