Publisher: Microsoft Press Released: March 2006 Pages: 640
Take a detailed look at the internal architecture of T-SQL—and unveil the power of set-based querying—with comprehensive reference and advice from the experts. Database developers and administrators get best practices, sample databases, and code to master the intricacies of the programming language—solving complex problems with real-world solutions. Discover how to: - Understand logical and physical query processing
- Apply a methodology to optimize query tuning
- Solve relational division problems
- Use CTEs and ranking functions to simplify and optimize solutions
- Aggregate data with various techniques, including tiebreakers, pivoting, histograms, and grouping factors
- Use the TOP option in a query to modify data
- Query specialized data structures with recursive logic, materialized path, or nested sets solutions
- PLUS—Improve your logic and get to the heart of querying problems with logic puzzles
Get code and database samples on the Web |
-
Chapter 1 Logical Query Processing -
Logical Query Processing Phases -
Sample Query Based on Customers/Orders Scenario -
Logical Query Processing Phase Details -
New Logical Processing Phases in SQL Server 2005 -
Conclusion -
Chapter 2 Physical Query Processing -
Flow of Data During Query Processing -
Compilation -
Conclusion -
Chapter 3 Query Tuning -
Sample Data for This Chapter -
Tuning Methodology -
Tools for Query Tuning -
Index Tuning -
Preparing Sample Data -
An Examination of Set-Based vs. Iterative/Procedural Approaches, and a Tuning Exercise -
Additional Resources -
Conclusion -
Chapter 4 Subqueries, Table Expressions, and Ranking Functions -
Subqueries -
Table Expressions -
Analytical Ranking Functions -
Auxiliary Table of Numbers -
Existing and Missing Ranges (Also Known as Islands and Gaps) -
Conclusion -
Chapter 5 Joins and Set Operations -
Joins -
Set Operations -
Conclusion -
Chapter 6 Aggregating and Pivoting Data -
OVER Clause -
Tiebreakers -
Running Aggregations -
Pivoting -
Unpivoting -
Custom Aggregations -
Histograms -
Grouping Factor -
CUBE and ROLLUP -
Conclusion -
Chapter 7 TOP and APPLY -
SELECT TOP -
APPLY -
Solutions to Common Problems Using TOP and APPLY -
Conclusion -
Chapter 8 Data Modification -
Inserting Data -
Deleting Data -
Updating Data -
Other Performance Considerations -
Conclusion -
Chapter 9 Graphs, Trees, Hierarchies, and Recursive Queries -
Terminology -
Scenarios -
Iteration/Recursion -
Materialized Path -
Nested Sets -
Transitive Closure -
Conclusion -
Appendix A Logic Puzzles -
Puzzles -
Puzzle Solutions -
Conclusion -
Appendix About the Contributors |
- Title:
- Inside Microsoft® SQL Server™ 2005: T-SQL Querying
- By:
- Itzik Ben-Gan, Lubor Kollar, Dejan Sarka
- Publisher:
- Microsoft Press
- Formats:
-
- Print
- Ebook
- Safari Books Online
- Print:
- March 2006
- Ebook:
- November 2009
- Pages:
- 640
- Print ISBN:
- 978-0-7356-2313-2
- | ISBN 10:
- 0-7356-2313-9
- Ebook ISBN:
- 978-0-7356-9081-3
- | ISBN 10:
- 0-7356-9081-2
|
Itzik Ben-Gan is a principal mentor and a founder of Solid Quality Learning. A Microsoft MVP for SQL Server since 1999, Itzik teaches and consults internationally on T-SQL querying, programming, and query tuning. He has written numerous articles for SQL Server Magazine and MSDN, and speaks at industry events such as Microsoft TechEd, DevWeek, PASS, and SQL Server Connections. Lubor Kollar is the group program manager for SQL Server at Microsoft. His team led the development of key enhancements to the relational engine and T-SQL query capabilities in SQL Server 2005. Dejan Sarka is MCT and MCDBA certified and a Microsoft MVP for SQL Server. He teaches and consults for Solid Quality Learning, speaks at TechEd and PASS, and develops OLTP, OLAP, and data mining solutions. Kalen Delaney, Series Editor, is a principal mentor and a founder of Solid Quality Learning and the author of Inside Microsoft SQL Server 2000. |
|
Description
|
Table of Contents
|
Product Details
|
About the Author
|
 |
|
 |
|
|
|
Recommended for You
|
Recently Viewed
|
 |
|
By Itzik Ben-Gan, Lubor Kollar, Dejan Sarka
May 2006
Ebook: $35.99
Print & Ebook: $49.49
Print: $44.99
By Tim Patrick, Steven Roman, PhD, Ron Petrusha, Paul Lomax
January 2006
Ebook: $39.99
Print & Ebook: $54.99
Print: $49.99
|
Customer Reviews
|
|
|