Quick Check


1. 

Why should you avoid scalar user-defined functions in large result sets?

image from book

2. 

Why should you avoid query execution time as the primary metric when measuring query performance?

image from book

3. 

Why should you avoid cursors?

avoid cursors because of their large impact on performance.

Answers

1. 

Avoid scalar user-defined functions because they are not optimized into the query and might therefore significantly degrade query performance.

2. 

Query execution time is a poor choice as primary metric because it is affected by many things, such as locks and server load.

3. 

Avoid cursors because of their large impact on performance.




MCITP Self-Paced Training Kit Exam 70-442  .Designing and Optimizing Data Access by Using Microsoft SQL Server 2005
MCITP Self-Paced Training Kit Exam 70-442 .Designing and Optimizing Data Access by Using Microsoft SQL Server 2005
ISBN: 073562383X
EAN: N/A
Year: 2007
Pages: 162

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net