Sell Us Your Item
For a $10.50 Gift Card
Trade in
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

 

Microsoft® SQL Server® 2008 T-SQL Fundamentals (PRO-Developer) [Paperback]

Itzik Ben-Gan
4.6 out of 5 stars  See all reviews (44 customer reviews)


Available from these sellers.


Free Two-Day Shipping for College Students with Amazon Student

More to Explore
Continue browsing in the Microsoft Press Resource Center for books on everything from essential skills for beginners to technical references for IT professionals and developers.
There is a newer edition of this item:
Microsoft SQL Server 2012 T-SQL Fundamentals Microsoft SQL Server 2012 T-SQL Fundamentals 4.8 out of 5 stars (12)
$28.71
In Stock.

Book Description

October 22, 2008 8178531046 978-8178531045 1

Master the foundations of T-SQL with the right balance of conceptual and practical content. Get hands-on guidance—including exercises and code samples—that show you how to develop code to query and modify data. You’ll gain a solid understanding of the T-SQL language and good programming practices, and learn to write more efficient and powerful queries.

Discover how to:

Apply T-SQL fundamentals, create tables, and define data integrity Understand logical query processing Query multiple tables using joins and subqueries Simplify code and improve maintainability with table expressions Explore pivoting techniques and how to handle grouping sets Write code that modifies data Isolate inconsistent data and address deadlock and blocking scenarios



Editorial Reviews

About the Author

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.


Product Details

  • Paperback: 688 pages
  • Publisher: Microsoft Press; 1 edition (October 22, 2008)
  • Language: English
  • ISBN-10: 8178531046
  • ISBN-13: 978-8178531045
  • ASIN: 0735626014
  • Product Dimensions: 7.4 x 1.2 x 9.4 inches
  • Shipping Weight: 1.4 pounds
  • Average Customer Review: 4.6 out of 5 stars  See all reviews (44 customer reviews)
  • Amazon Best Sellers Rank: #98,665 in Books (See Top 100 in Books)

More About the Author

Itzik Ben-Gan is a Mentor and Co-Founder of SolidQ. A SQL Server Microsoft MVP (Most Valuable Professional) since 1999, Itzik has delivered numerous training events around the world focused on T-SQL Querying, Query Tuning and Programming. Itzik is the author of several books including Microsoft SQL Server 2012 T-SQL Fundamentals and Microsoft SQL Server 2012 High-Performance T-SQL Using Window Functions. He has written many articles for SQL Server Pro as well as articles and whitepapers for MSDN. Itzik's speaking activities include TechEd, DevWeek, SQLPASS, SQL Server Magazine Connections, various user groups around the world, and SolidQ's events to name a few. Itzik is the author of SolidQ's Advanced T-SQL Querying, Programming and Tuning and T-SQL Fundamentals courses along with being a primary resource within the company for their T-SQL related activities.
For more details please visit http://tsql.solidq.com.

Customer Reviews

4.6 out of 5 stars
(44)
4.6 out of 5 stars
The examples are very clear and easy to understand. A. Taveras  |  17 reviewers made a similar statement
Most Helpful Customer Reviews
36 of 37 people found the following review helpful
5.0 out of 5 stars Not just syntax, but the theory behind it December 15, 2008
Format:Paperback
I'm half way through this book and I am totally impressed. The author not only explains T-SQL syntax very systematically, but also explains enough of the theory behind it to help you understand why. This makes it much easier to optimize your syntax and avoid logical bugs in your code. This is not an introductory level SQL book, but it's not a book for experts either. I have been writing SQL for years and I have learned a great deal from this book already. I highly recommend this book if you are looking to take your SQL skills from basic/intermediate to a more advanced level.
Comment | 
Was this review helpful to you?
29 of 29 people found the following review helpful
5.0 out of 5 stars Excellent book - clear focus and ordered presentation December 4, 2008
Format:Paperback|Amazon Verified Purchase
I have worked with T-SQL for about 11 years, but nevertheless immediately pre-ordered this "Fundamentals" book when I saw a blog post about it - for three reasons: (a) I wanted to fill in any missing gaps in my understanding of the language, (b) I wanted to learn what was new with the 2008 offering, and (c) I have heard Itzik Ben-gan speak and read his blog for sometime and always find his presentations to be excellent. I was not disappointed.

For me, this has been one of those rare reads, where I can see where the topic is going but it is never dull because I either learn something new about the subject or the presentation clarifies what I already knew. I especially like how the book continually reinforces how T-SQL is built on set theory and predicate logic.

Great read and reference. I highly recommend it.

Kudos to the author.
Comment | 
Was this review helpful to you?
45 of 49 people found the following review helpful
Format:Paperback|Amazon Verified Purchase
Film director Stanley Kubrick would make a film in a specific genre, after which there was almost no point in making movies in that genre any more. War movie - Paths of Glory, political satire - Dr Strangelove , historical film - Spartacus, science fiction - 2001 A Space Odyssey, horror - The Shining. Itzik Ben-Gan managed to do with his book what Kubrick did with his films. There just is no point in writing another book on T-SQL after his.

The first thing I looked for when I picked the book at the post office was the section on Outer Joins. A common question when using outer joins that is the source of lot of confusion is whether to specify a predicate in the ON or WHERE clause of the query. Itzik explains it definitively: " You can see that with respect to rows from the preserved side of an outer join, the filter based on the ON predicate is not final. In other words, the ON predicate does not detremine whether the row will show up in the output, only whether it will be matched with rows from the other side. So when you need to express a predicate that is not final - meaning a predicate that determines which rows to match from the nonpreserved side - specify the predicate in the ON clause. When you need a filter to be applied after outer rows are produced, and you want the filter to be final, specify the predicate in the WHERE clause. "

If only I this book existed ten years ago I would have avoided some of the mistakes I made through the years, only because some fundamental things were never clearly explained. Itzik fills the gaps for an exprienced DBA and gives a perfect basis for a novice. The fundamentals become crystal clear so that building on top of it is easy. Perhaps this can be best illustrated by the following example:

"Can you figure out how to write an UPDATE statement that swaps the values in col1 and col2? In most programming languages where expressions and assigments are evaluated in some order (typically left to write) , you need a temporary variable. However, because in SQL all assignments take place as if at the same point in time, the solution is very simple:

UPDATE dbo.T1
set col1= col2, col2 = col1;

In both assigments the source column values used are those prior to the update, so you don't need a temporary variable."

Now why did no other book I read ever give this simple example?

Common Table Expressions are explained really well, especially updating and deleting data using CTEs. Actually, the book covers all the 2005 and 2008 related enhacements ROW_NUMBER, RANK, DENSE_RANK and NTILE, Recursive Queries, APPLY,CROSS APPLY, OUTER APPLY,EXCEPT and INTERSECT, TRY...CATCH, TOP Enhancements, PIVOT UNPIVOT, DDL Triggers, MERGE. But it covers it in such a way that nothing seems complicated. We should give it to all out C++ programmers as well.

It was a pleasure reading the book
Was this review helpful to you?
Most Recent Customer Reviews
5.0 out of 5 stars Great book
I have spent a lot of time reading this book and learning from its examples. It is clear and concise, gets right into the heart of things while remaining an entry level book. Read more
Published 4 months ago by kamasutah
5.0 out of 5 stars Arrived quickly and in perfect condition
As per the description above. Thank you very much. I am enjoying going through this book. It is very informative.
Published 5 months ago by Paul Limacher
3.0 out of 5 stars Smart, Maybe Too Smart
It is obvious, from the very first paragraphs you read, that the author is deeply familiar with SQL. Read more
Published 13 months ago by F. Fievet
5.0 out of 5 stars Great resource for grasping TSQL!
A few months ago, I started my journey to becoming a DBA. I have no formal training on SQL concepts, just a love for learning and books such as the one being reviews. Read more
Published 15 months ago by BrentonG
5.0 out of 5 stars Great book on Fundamentals
I appreciated the clear explanations along with the useful exercises this book provides.
I deal with t-sql on a nearly day-to-day basis and the book was great for reviewing... Read more
Published 15 months ago by Stacy G. Park
5.0 out of 5 stars Excellent Book for Updating My Skills
I first started learning and writing T-SQL on SQL Server 7. Since then I've updated my skills reading the Microsoft Online Help. Read more
Published 15 months ago by Jerry Fleck
5.0 out of 5 stars Great SQL resource
Like many developers, I mix software development with database development. I have written numerous stored procedures over the years and my database experience includes data... Read more
Published 15 months ago by Albert D
5.0 out of 5 stars Fundamentals and underlying principles
This is a great book to learn not just T-SQL, but also how to train your brain to think in SQL terms. Read more
Published 15 months ago by Johnny5
3.0 out of 5 stars Good book for beginner
This book is good for someone who wants to learn the basic fundamental of how T-SQL works under the hood without exposing too much details but with enough information so that you... Read more
Published 15 months ago by golf pro
5.0 out of 5 stars An excellent T-SQL textbook
Although the book title is "Microsoft SQL Server 2008 T-SQL Fundamentals", most chapters are generic for broader database topics such as sets theory, joins, transactions and... Read more
Published 15 months ago by L. Kha
Search Customer Reviews
Only search this product's reviews

What Other Items Do Customers Buy After Viewing This Item?


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

Topic From this Discussion
Book's Companion Website (www.insidetsql.com)
For the life of me I cannot find the download for the books source code. Could you please post a link that goes directly to the page where this can be found?

Thank you,

Robert
Aug 30, 2009 by Robert Bunn |  See all 6 posts
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