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 raid and what are different types of raid configurations? : Sql server database administration

538


What is a not null constraint?

596


What protocol does sql server use?

520


Write a SQL query in order to merge two different columns into single column?

626


What are cursors stored procedures and triggers?

516






What are views in ms sql server?

600


How to transfer an existing table from one schema to another schema in ms sql server?

513


What is logon trigger?

550


What is the purpose of data source?

513


Explain about thread and memory management process of SQL?

540


What is the importance of concurrency control?

665


What is a heap?

618


What is sql language?

552


What is the security model used in sql server 2005?

512


Do you know what are the restrictions that views have to follow?

630