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

Other than truncate statement, which other command can by-pass the trigger on the tables?

1065


Explain comment on transactions?

934


Explain different types of lock modes in sql server 2000?

879


Explain contrast amongst grouped and non-bunched records?

957


How to bind a view to the schema of the underlying tables?

945


How would we use distinct statement? What is its use?

1023


Tell me what is difference between clustered and non clustered index?

896


Is it possible for a stored procedure to call itself or recursive stored procedure? How many levels of sp nesting are possible?

839


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

2104


Explain how to send email from sql database?

972


Can you explain full-text query in sql server?

970


What are four major operators that can be used to combine conditions on a where clause?

983


What is a field in a table?

983


Can we use pragma autonomous_transaction in trigger?

910


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

953