Difference between writing SQL query and stored procedure ?

Answer Posted / robinson

The execution plan will be created when compiling the stored
procedure and permanently stored in the database and so it
is much efficient, But in the case of query the execution
plan will be created at runtime.

Is This Answer Correct ?    30 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is entity data services?

586


What is the boxing and unboxing concept in .net?

554


what is isolation level at dead lock?

1757


What is difference between equi join and natural join?

547


What encryption security is available in sql azure?

81






What is ms sql server reporting services?

520


What is difference between unique and primary key?

483


you accidentally delete the msdb database what effect does this have on your existing sql databases, and how do you recover? : Sql server administration

725


How do I open a .db file?

488


What is the New in SQL server 2008?

585


Can we write trigger for view?

567


What are translations and its use? : sql server analysis services, ssas

611


How to start and end transact-sql statements?

592


How sql server executes a statement with nested subqueries?

513


How to verify a login name with sqlcmd tool?

599