or
Sign in to turn on 1-Click ordering
Sell Us Your Item
For a $6.82 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.
Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 

Inside Microsoft® SQL Server® 2008: T-SQL Querying [Paperback]

Itzik Ben-Gan , Lubor Kollar , Dejan Sarka , Steve Kass
4.4 out of 5 stars  See all reviews (18 customer reviews)

Buy New
$31.48 & FREE Shipping. Details
Rent
$23.33
Only 11 left in stock (more on the way).
Ships from and sold by Amazon.com. Gift-wrap available.
In Stock.
Rented by RentU and Fulfilled by Amazon.
Want it Thursday, June 20? Choose One-Day Shipping at checkout. Details
Free Two-Day Shipping for College Students with Amazon Student

Formats

Amazon Price New from Used from
Paperback $31.48  
Shop the new tech.book(store)
New! Introducing the tech.book(store), a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Book Description

March 25, 2009 0735626030 978-0735626034 1

Tackle the toughest set-based querying and query tuning problems—guided by an author team with in-depth, inside knowledge of T-SQL. Deepen your understanding of architecture and internals—and gain practical approaches and advanced techniques to optimize your code’s performance.

Discover how to:

  • Move from procedural programming to the language of sets and logic
  • Optimize query tuning with a top-down methodology
  • Assess algorithmic complexity to predict performance
  • Compare data-aggregation techniques, including new grouping sets
  • Manage data modification—insert, delete, update, merge—for performance
  • Write more efficient queries against partitioned tables
  • Work with graphs, trees, hierarchies, and recursive queries
  • Plus—Use pure-logic puzzles to sharpen your problem-solving skills

Frequently Bought Together

Inside Microsoft® SQL Server® 2008: T-SQL Querying + Inside Microsoft® SQL Server® 2008: T-SQL Programming (Pro-Developer) + Microsoft SQL Server 2012 T-SQL Fundamentals
Price for all three: $90.86

Buy the selected items together


Editorial Reviews

About the Author

Itzik Ben-Gan is a principal mentor and a founder of SolidQ. 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 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.

Steve Kass, PhD, is an MVP for SQL Server and a professor of mathematics and computer science. He has written for SQL Server Magazine and spoken at SQL Server Magazine Connections events.


Product Details

  • Paperback: 688 pages
  • Publisher: Microsoft Press; 1 edition (March 25, 2009)
  • Language: English
  • ISBN-10: 0735626030
  • ISBN-13: 978-0735626034
  • Product Dimensions: 7.5 x 1.9 x 9.1 inches
  • Shipping Weight: 3.4 pounds (View shipping rates and policies)
  • Average Customer Review: 4.4 out of 5 stars  See all reviews (18 customer reviews)
  • Amazon Best Sellers Rank: #30,816 in Books (See Top 100 in Books)

More About the Authors

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

Most Helpful Customer Reviews
50 of 58 people found the following review helpful
By Jose
Format:Paperback
I just went yesterday to a famous bookstore here in town to check this one before order it online and left a bit disappointed, with no desire at all to buy it. Don't get me wrong, Itzik is an awesome writer, a genius on his field, but I do not share the previous 5 start opinions and I will explain why.

I do not consider myself an TSQL expert but got some SQL DBA years on my belt and a MCTS cert too. Having said that and after almost finish reading Microsoft SQL Server 2008 T-SQL Fundamentals (PRO-Developer), same author, I found this one very difficult to follow, flooded with tons of theory and math that for a TSQL book is in my opinion too much. Yes, SQL language has strong logic and math background but that is not what DBAs or developers are looking on a technical book and this is not a college book either; people are looking for practical books which can be quickly be applied on daily job activities.

Chapter #2 for example is full of logic and math stuff that I honestly skipped immediately. Nice as bonus information but not "straight to the point" T-SQL stuff. You can easily take that chapter out and keep the book lighter in my honest opinion. Same for Chapter#3, more logic and math stuff, related to T-SQL, yes, but no the real stuff.

Chapter 1, 7 and 10 are taken of Microsoft SQL Server 2008 T-SQL Fundamentals (PRO-Developer), which by the way, is an outstanding book. Those chapters are about SELECT, JOINS and DML, information that like I said, can be found on the Fundamentals book but in an easy to read style, even with exercises so you can evaluate your own skills.

Chapter #4 is probably the more interesting chapter of the whole book, is about query performance.
... Read more ›
Was this review helpful to you?
7 of 9 people found the following review helpful
Format:Paperback|Amazon Verified Purchase
I have really enjoyed this book from the begining to the end.

The new chapters from Steve and Dejan:

- Set Theory and Predicate Logic
- Algorithms and Complexity
- The Relational Model

are a very good complement. Having these topics is handy and refreshing, not to mention a must in this discipline.

Itzik's cover about the new T-SQL features introduced with SQL Server 2008, is insightful and very well guided. No doubt that he is an educator by nature.

If you are new to T-SQL, I strongly recommend that you first read Itzik's book "Microsoft® SQL Server® 2008 T-SQL Fundamentals", prior to diving into this series (T-SQL Querying and T-SQL Programming).

Thanks to all the authors for such wonderful book.

Alejandro Mesa
SQL Server MVP
Comment | 
Was this review helpful to you?
4 of 5 people found the following review helpful
5.0 out of 5 stars Very well done August 23, 2009
Format:Paperback
I'm new to T-SQL, but not new to database programming. I found this to be an excellent reference for the advanced programmer. The examples are well thought out and well organized. He often gives several different examples of how to solve a problem along with the pros and cons of each solution.
Comment | 
Was this review helpful to you?
5.0 out of 5 stars Highly recommended June 12, 2013
Format:Paperback|Amazon Verified Purchase
This is like an expanded version of T-SQL Fundamentals by Itzik Ben-Gan, which is my SQL bible. Very well organized, great examples and I love that it covers what SQL does in the background, not just what result set is returned.
Comment | 
Was this review helpful to you?
4.0 out of 5 stars Good book. April 5, 2013
Format:Paperback|Amazon Verified Purchase
This is a good book as a reference book for beginner to intermediate knowledge of SQL. If you are looking for a way to learn SQL this is a good book to learn from too.
Comment | 
Was this review helpful to you?
4.0 out of 5 stars SQL Theory Empasized February 23, 2013
Format:Paperback|Amazon Verified Purchase
In general, this book is well written and conveys the material in logical and progressive order. But readers should be ready for a great deal of theory. I read it quite a while ago and will still turn to it for tips that I remember being covered but that I now need to apply to a current problem -- the book delivers just what I need with sufficient examples to get rolling on my problem. When I read it, my background was pretty basic for T SQL but I did come away with a deeper appreciation for the product (SQL Server) and how to leverage it better in the future.

Regrettably, this book is written by multiple authors and it seemed easy for me to see the different styles of writing (good and bad) depending upon which section was being read. From my pov, a stronger editing for style would have helped because one author goes over the deep end covering theory while another seems to be able to cover theory sufficiently and then delivers a great hands-on and real world example showing how this theory matters.

There are some gems in the book to be sure. My favorites were:
The coverage of Set theory -- it is mathematics but really helped me understand how the product is built a particular way and how to leverage T SQL better with a well-built DB. This section was, from my pov, well written.

Learning about ROWNUMBER and HIERARCHYID. Boy can you use those in the real world! Never knew about them before reading this book.

How to optimize Indexes and usage of PIVOT.

Graphs, Trees, Hierarchies and Recursive Queries -- good material but delivered with too much theory and, imho, too little example.

Using CTE's (Common Table Expressions). I had never read about such things till this book and found it quite enlightening.
... Read more ›
Comment | 
Was this review helpful to you?
Format:Paperback|Amazon Verified Purchase
Sometimes, the authors of technical books have the prerequisite expert knowledge and have an outstanding organization and game plan. But their writing is just too ambiguous. This is one of those books. The author should simply get to the point and not meander too much.

First, this book is not for the beginners. Indeed, you may not need all the knowledge contained in this book to be even intermediate DBA or DB Developer. But if you want to raise your knowledge of MS SQL to an expert level, a book like this sure helps. It is really too bad the author can't be more forthright in his writing.

Pros:
1)Expert in how MS SQL processes transactions.
2)Outstanding organization.
3)Comprehensive explanation of T-SQL.
4)If you want to understanding SQL performance tuning, this book is a must.

Cons:
1)Not for the beginners.
2)Writing could be far more lucid.
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
2.0 out of 5 stars esperaba otra cosa
esperaba ver más T-SQL, enfocado ,más a rendimiento que a instruir en T-SQL, algunos ejemplos de rendimiento si pueden ser extraídos de él
Published 2 months ago by Juan Granados Reyes
5.0 out of 5 stars Amazing coverage of advanced topics
I've been using SQL for many years but am new to T-SQL (mostly used mySQL before) and have not had the need to do complicated SQL queries before, or mySQL did not have the... Read more
Published 13 months ago by JR
4.0 out of 5 stars Great Information; too much theory
This book is jam packed with information, but a lot of it is theory and heavy mathematics that completely confused me. Read more
Published 13 months ago by Eric Zierdt
5.0 out of 5 stars This book is the Gold Standard
This book is an amazing wealth of information on advanced SQL querying techniques. I've got a ton of bookmarks in this book and I try to flip through it on occasion again in case... Read more
Published 14 months ago by J. Carter
5.0 out of 5 stars I *heard* this was good, but...
I didn't know it would be *that* good! AWESOME!!! Gotta love a book that teaches you something even if you are just skimming around. Read more
Published 16 months ago by P. Linden
5.0 out of 5 stars You will gain alot from reading this
A true gem. I can't think of a single other book that I've learned so much in-depth and practical information. It' not the easiest to read, but it is well worth the effort. Read more
Published 16 months ago by J. Cooper
4.0 out of 5 stars Good Resource
Excellent resource and learning material for experienced professionals. The book follows a systematic approach to querying processing technique. Read more
Published on May 31, 2011 by Ram
4.0 out of 5 stars A great reference book on T-SQL Querying
One of the very good reference books I followed. As such, there is no doubt that Itzik Ben-Gan is one of the great T-SQL experts in the industry. Read more
Published on February 7, 2011 by Sudheer K. Maharana
5.0 out of 5 stars A Great Book
This book is not for beginners. I have worked with SQL Server since version 7 and still learned much from this and its sister volume, "T-SQL Programming. Read more
Published on February 5, 2011 by Rodger K. Pfingsten
Search Customer Reviews
Only search this product's reviews


Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Forums

Have something you'd like to share about this product?
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Search Customer Discussions
Search all Amazon discussions


So You'd Like to...


Create a guide


Look for Similar Items by Category