Join Books.org — it's free

Book cover of Inside Microsoft SQL Server 2005: T-SQL Querying
Database Management, Enterprise Computing Systems, Programming Languages, Applications & Languages - Databases

Inside Microsoft SQL Server 2005: T-SQL Querying

by Itzik Ben-Gan, Roger Wolter, Lubor Kollar, Dejan Sarka
Write a review
Log in to track your reading progress.

Overview

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

Synopsis

This thorough, hands-on reference for database developers and administrators delivers expert guidance on sophisticated uses of Transact-SQL (T-SQL)-one of the most familiar and powerful programming languages for SQL Server. Written by a T-SQL guru, this guide focuses on advanced querying techniques and how queries are interpreted and processed by the SQL Server execution engine. You'll get in-depth coverage of the sophisticated uses of T-SQL, including the differences between logical and physical processing, nesting of queries, and much more. The book explains and compares solutions to database-development problems in both SQL Server 2000 and SQL Server 2005, discussing the new T-SQL programming features added to SQL Server 2005 in detail. Includes extensive code samples, table examples, and logic puzzles to help database developers and administrators understand the intricacies and help promote mastery of T-SQL.

About the Author, Itzik Ben-Gan

Itzik Ben-Gan is a mentor and cofounder of SolidQ. A Microsoft MVP for SQL Server since 1999, Ben-Gan teaches and consults internationally on T-SQL querying, programming, and query tuning. He is the author of Microsoft SQL Server T-SQL Fundamentals and coauthor of Inside Microsoft SQL Server: T-SQL Querying and Inside Microsoft SQL Server:T-SQL Programming. 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 group program manager with the SQL Server Customer Advisory Team at Microsoft, working on the most challenging SQL Server deployments worldwide. He has 13+ years of experience with SQL Server development.

Dejan Sarka is a mentor with SolidQ and focuses on development of database and business intelligence applications. He is a frequent speaker at international conferences such as TechEd, SqlDevCon, and PASS. He is the founder of the Slovenian SQL Server and .NET Users Group. As main author or coauthor, Dejan has written nine books about SQL Server. He has also developed three courses for SolidQ: Data Modeling Essentials, Data Quality and Master Data Management, and Data Mining.

Reviews

There are no reviews yet. Log in to write one.

Editorials

From Barnes & Noble

The Barnes & Noble Review
Itzik Ben-Gan, a Microsoft MVP for SQL Server since 1999, is among the world’s leading T-SQL consultants. Now, he’ll help you write T-SQL queries of exceptional power, and supercharge queries that already exist. From temporary tables to dynamic execution, his new book will give you mastery of advanced constructs many SQL Server programmers don’t dare to use.

Ben-Gan offers powerful insight into how SQL Server transforms logical queries into executable query plans -- and how to write code that generates far more efficient plans. He focuses heavily on set-based techniques but also covers cursors when they still make sense. Among this book’s many highlights: a systematic query tuning methodology he developed for his own company.

If you like what he’s done here -- and you will -- also check out his brand-new Inside Microsoft SQL Server 2005: T-SQL Programming, arguably the most useful advanced T-SQL programming reference ever written. Bill Camarda, from the June 2006 Read Only

Book Details

Published
April 1, 2006
Publisher
Microsoft Press
Pages
640
Format
Paperback
ISBN
9780735623132

More by Itzik Ben-Gan

Similar books