Book description
T-SQL insiders help you tackle your toughest queries and
query-tuning problems
Squeeze maximum performance and efficiency from every T-SQL query
you write or tune. Four leading experts take an in-depth look at
T-SQL’s internal architecture and offer advanced practical
techniques for optimizing response time and resource usage.
Emphasizing a correct understanding of the language and its
foundations, the authors present unique solutions they have spent
years developing and refining. All code and techniques are fully
updated to reflect new T-SQL enhancements in Microsoft SQL Server
2014 and SQL Server 2012.
Write faster, more efficient T-SQL code:
Move from procedural programming to the language of sets and logic
Master an efficient top-down tuning methodology
Assess algorithmic complexity to predict performance
Compare data aggregation techniques, including new grouping sets
Efficiently perform data-analysis calculations
Make the most of T-SQL’s optimized bulk import tools
Avoid date/time pitfalls that lead to buggy, poorly performing code
Create optimized BI statistical queries without additional software
Use programmable objects to accelerate queries
Unlock major performance improvements with In-Memory OLTP
Master useful and elegant approaches to manipulating graphs
About This Book
For experienced T-SQL practitioners
Includes coverage updated from Inside Microsoft SQL Server 2008 T-SQL Querying and Inside Microsoft SQL Server 2008 T-SQL Programming
Valuable to developers, DBAs, BI professionals, and data scientists
Covers many MCSE 70-464 and MCSA/MCSE 70-461 exam topics
Table of contents
- Title Page
- Copyright Page
- Dedication Page
- Contents at a glance
- Contents
- Foreword
- Introduction
- Chapter 1. Logical query processing
-
Chapter 2. Query tuning
- Internals
- Tools to measure query performance
-
Access methods
- Table scan/unordered clustered index scan
- Unordered covering nonclustered index scan
- Ordered clustered index scan
- Ordered covering nonclustered index scan
- The storage engine’s treatment of scans
- Nonclustered index seek + range scan + lookups
- Unordered nonclustered index scan + lookups
- Clustered index seek + range scan
- Covering nonclustered index seek + range scan
- Cardinality estimates
- Indexing features
- Prioritizing queries for tuning with extended events
- Index and query information and statistics
- Temporary objects
- Set-based vs. iterative solutions
- Query tuning with query revisions
- Parallel query execution
- Conclusion
- Chapter 3. Multi-table queries
- Chapter 4. Grouping, pivoting, and windowing
- Chapter 5. TOP and OFFSET-FETCH
- Chapter 6. Data modification
- Chapter 7. Working with date and time
- Chapter 8. T-SQL for BI practitioners
- Chapter 9. Programmable objects
- Chapter 10. In-Memory OLTP
- Chapter 11. Graphs and recursive queries
- Index
- Code Snippets
Product information
- Title: T-SQL Querying
- Author(s):
- Release date: March 2015
- Publisher(s): Microsoft Press
- ISBN: 9780133986631
You might also like
book
Learn T-SQL Querying
Troubleshoot query performance issues, identify anti-patterns in code, and write efficient T-SQL queries Key Features Discover …
video
T-SQL Querying: Writing a SELECT Statement
This video provides you with the knowledge to write SELECT statements to retrieve data from a …
book
T-SQL Fundamentals, Third Edition
Effectively query and modify data using Transact-SQL Master T-SQL fundamentals and write robust code for Microsoft …
book
SQL Server Query Tuning and Optimization
Get well-versed with ready-to-use techniques for creating high-performance queries and applications Key Features Speed up queries …