Difference between writing SQL query and stored procedure ?

Answer Posted / ashwini

SQL query will be compiled everytime it is executed.
Stored procedures are compiled only once when they are
executed for the first time.

Is This Answer Correct ?    209 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

your distribution database is full what will u do

1684


On a windows server 2003 active – passive failover cluster, how do you find the node which is active?

660


What is raid? : SQL Server Architecture

601


What is the fastest way to permanently delete a 1 million row table named customers?

607


Explain the steps needed to create a scheduled job?

530






Explain different backup plans?

536


Explain can SSRS reports Cache results?

112


What is the boxing and unboxing concept in .net?

556


What is check constraint in sql server?

530


What happens if ntwdblib.dll is missing on your machine?

641


What are the properties of the transaction?

555


Write a SQL query to delete a table?

662


How to get the definition of a trigger back?

557


What is the difference between createstatement and preparedstatement?

499


What is indexing and its types?

538