Difference between writing SQL query and stored procedure ?
Answer Posted / tmp
the main advantages is Execution Plan Retention and Reuse (SP are compiled and their execution plan is cached and used again to when the same SP is executed again)
http://blog.sqlauthority.com/2007/04/13/sql-server-stored-procedures-advantages-and-best-advantage/
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What language is sql server written in?
What are sub reports and how to create them?
List the different types of collation sensitivities in sql server?
How to create a dynamic cursor with the dynamic option?
Can a cursor be updated? If yes, how you can protect which columns are updated?
What is SQL Azure Data sync?
sql database suspect We have a sql database that is showing as suspect. How can we recover?
What are drillthrough reports?
While you are inserting values into a table with the insert into .. Values option, does the order of the columns in the insert statement have to be the same as the order of the columns in the table?
What are two difference between sql azure and azure tables?
How to find the list of fixed hard drive and free space on server?
what's the maximum size of a row? : Sql server database administration
How to find the second highest salary of an employee?
Why union all is faster than union?
Why does sql studio use a single registered database repository? : sql server management studio