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 / gayathri

Every query is submited it will be compiled & then
executed.where as stored procedure is compiled
when it is submitted for the first time and this compiled
content is stored in something called procedure cache,
for subsequent calls no compilation,just execution & hence
better performance than query.
In Query we can execute only 1 statement. Stored Procedure:
In Stored Procedure we can execute Batch of Queries

Is This Answer Correct ?    103 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

explain what is raid and what are different types of raid configurations? : Sql server database administration

1006


Mention the different types of triggers?

1118


Do you know nested transaction?

961


State a few properties of relational databases?

1128


How do I change my passwords (database, LDAP, and so on) without causing an outage?

1069


You have to store user responses of ‘yes’ and ‘no’ what kind of data type is best suited for this task?

946


How do I find the default sql server instance?

944


How to convert binary strings into integers in ms sql server?

1031


How can you find out how many rows returned in a cursor?

1030


What is the difference between TRUNCATE and DROP?

1142


You have several tables, and they are joined together for querying. The tables contain both clustered indexes and non clustered indexes to optimize performance, how should you distribute the tables and their indexes onto different file groups?

1004


What is always encrypted?

998


Do you know what are the ways available in sql server to execute sql statements?

1032


How to change the name of a database user?

960


How do you identify a foreign key?

1026