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
video
CCNA 200-301
More Than 16 Hours of Video Instruction Overview CCNA 200-301 Complete Video Course is a comprehensive …
video
SQL Server 70-761: Querying Data with Transact-SQL
Nearly 13 Hours of Expert Video Instruction Overview This complete video course guides you hands-on through …
book
Microsoft SQL Server 2014 Unleashed
The industry’s most complete, useful, and up-to-date guide to SQL Server 2014. You’ll find start-to-finish coverage …
book
Pro SQL Server Relational Database Design and Implementation, Fifth Edition
Learn effective and scalable database design techniques in a SQL Server 2016 and higher environment. This …