Difference between writing SQL query and stored procedure ?

Answer Posted / swathi

Queries are compiled each and evey time when we execute.
where as Stored Procedures are compiled only once when we
execute for the first time and the execution plans are
cached in memory.

Is This Answer Correct ?    9 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is use of attributehierarchyenabled? : sql server analysis services, ssas

620


What is 3nf normalization?

572


What is user defined datatypes and when you should go for them?

597


Name some of the open source software that you can use in alternative to SSR?

109


Why Master database is required?

609






Explain what is lock escalation and what is its purpose?

519


Detail about query optimizer?

624


How do I find my localdb version?

508


What is triggers and its types?

554


What are acid properties of transaction?

567


What are user defined functions in ms sql server?

519


What the different components in replication and what is their use?

528


What is difference in performance between insert top (n) into table and using top with insert?

545


What is self contained scalar sub query?

549


on line cluster can we make if yes tell me the procedure

1524