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

What does dml stand for?

994


What is difference between delete and truncate commands?

1169


Can you use order by when defining a view?

1019


What is tablix?

169


what purpose does the model database serve? : Sql server database administration

1024


What are the differences between decimal and float in ms sql server?

1343


Can you explain what are commit and rollback in sql?

982


What are data driven subscriptions?

115


What is difference between temp table and cte?

1070


What is sql collation?

1263


What is forward - only cursors / read only cursor?

1129


What are magic tables in sql server?

1197


What happens if time-only values are provided as date and time literals?

1057


Write a sql query to get zero records from a table having n number of records?

1230


How can you know if the row fetched from cursor is still valid in underlying table?

1041