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 convert character strings into numeric values?

587


How to concatenate two strings in SQL Server.

600


tell me the disaster recovery plan

2033


Where to find ntwdblib.dll version 2000.80.194.0?

567


What is the difference between Clustered and Non-Clustered Index?

612






What are the advantages of user-defined functions over stored procedures in sql server?

468


What are sparse columns?

588


Where do we use trace frag?

578


Explain tables in SQL Azure?

96


What is transact-sql ddl trigger?

644


How can you set the threshold at which sql server will generate keysets asynchronously?

573


What are sql server procedures?

559


What is the process of indexing?

528


Explain about Normalization?

580


What is the cartesian product of table?

555