or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
47 used & new from $24.93

Have one to sell? Sell yours here
 
   
Express Checkout with PayPhrase
What's this? | Create PayPhrase
Sorry!
Microsoft® SQL Server® 2008 T-SQL Fundamentals (PRO-Developer)
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get your Kindle here.
 
  

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

~ Itzik Ben-gan (Author)
Key Phrases: programmable objects, merging data, query returns the following output, Single-Table Queries, Don Funk, Sara Davis (more...)
4.7 out of 5 stars  See all reviews (12 customer reviews)

List Price: $49.99
Price: $31.49 & this item ships for FREE with Super Saver Shipping. Details
You Save: $18.50 (37%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Tuesday, November 10? Choose One-Day Shipping at checkout. Details
33 new from $24.94 14 used from $24.93

Frequently Bought Together

Microsoft® SQL Server® 2008 T-SQL Fundamentals (PRO-Developer) + Inside Microsoft® SQL Server® 2008: T-SQL Querying + Microsoft® SQL Server® 2008 Internals (Pro - Developer)
Price For All Three: $100.77

Show availability and shipping details

  • This item: Microsoft® SQL Server® 2008 T-SQL Fundamentals (PRO-Developer) by Itzik Ben-gan

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Inside Microsoft® SQL Server® 2008: T-SQL Querying by Itzik Ben-Gan

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Microsoft® SQL Server® 2008 Internals (Pro - Developer) by Kalen Delaney

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details


Customers Who Bought This Item Also Bought

Microsoft® SQL Server® 2008 Internals (Pro - Developer)

Microsoft® SQL Server® 2008 Internals (Pro - Developer)

by Kalen Delaney
4.4 out of 5 stars (5)  $37.79
Microsoft SQL Server 2008 Administrator's Pocket Consultant

Microsoft SQL Server 2008 Administrator's Pocket Consultant

by William R. Stanek
4.9 out of 5 stars (8)  $23.09
Inside Microsoft® SQL Server® 2008: T-SQL Programming (Pro-Developer)

Inside Microsoft® SQL Server® 2008: T-SQL Programming (Pro-Developer)

by Itzik Ben-Gan
$31.49
Programming Microsoft SQL Server 2008 (PRO-Developer)

Programming Microsoft SQL Server 2008 (PRO-Developer)

by Leonard Lobel
4.4 out of 5 stars (5)  $37.79
Microsoft SQL Server 2008 Management and Administration

Microsoft SQL Server 2008 Management and Administration

by Ross Mistry
4.5 out of 5 stars (8)  $26.39
Explore similar items

Editorial Reviews

Product Description

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

Product Details

  • Paperback: 688 pages
  • Publisher: Microsoft Press (October 22, 2008)
  • Language: English
  • ISBN-10: 0735626014
  • ISBN-13: 978-0735626010
  • Product Dimensions: 9 x 7.3 x 1.4 inches
  • Shipping Weight: 1.8 pounds (View shipping rates and policies)
  • Average Customer Review: 4.7 out of 5 stars  See all reviews (12 customer reviews)
  • Amazon.com Sales Rank: #11,907 in Books (See Bestsellers in Books)

    Popular in these categories: (What's this?)

    #3 in  Books > Computers & Internet > Microsoft > Development > SQL Server
    #7 in  Books > Computers & Internet > Databases > Database Management Systems
    #14 in  Books > Computers & Internet > Databases > SQL

More About the Author

Itzik Ben-Gan
Discover books, learn about writers, read author blogs, and more.

Visit Amazon's Itzik Ben-Gan Page

Inside This Book (learn more)

What Do Customers Ultimately Buy After Viewing This Item?

Microsoft® SQL Server® 2008 T-SQL Fundamentals (PRO-Developer)
75% buy the item featured on this page:
Microsoft® SQL Server® 2008 T-SQL Fundamentals (PRO-Developer) 4.7 out of 5 stars (12)
$31.49
Inside Microsoft® SQL Server® 2008: T-SQL Querying
9% buy
Inside Microsoft® SQL Server® 2008: T-SQL Querying 5.0 out of 5 stars (3)
$31.49
Microsoft® SQL Server® 2008 Internals (Pro - Developer)
8% buy
Microsoft® SQL Server® 2008 Internals (Pro - Developer) 4.4 out of 5 stars (5)
$37.79
Programming Microsoft SQL Server 2008 (PRO-Developer)
4% buy
Programming Microsoft SQL Server 2008 (PRO-Developer) 4.4 out of 5 stars (5)
$37.79

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(2)
(1)

Your tags: Add your first tag
 

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

 

Customer Reviews

12 Reviews
5 star:
 (9)
4 star:
 (2)
3 star:
 (1)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.7 out of 5 stars (12 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
14 of 14 people found the following review helpful:
5.0 out of 5 stars Not just syntax, but the theory behind it, December 15, 2008
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 Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
17 of 18 people found the following review helpful:
5.0 out of 5 stars There just is no point in writing another book on T-SQL after this, February 9, 2009
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
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
12 of 12 people found the following review helpful:
5.0 out of 5 stars Excellent book - clear focus and ordered presentation, December 4, 2008
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 Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

3.0 out of 5 stars Quirky Terms all around
I am not new to T-SQL, got this book for picking up some missing parts of the language that I am not familiar with

Frankly, I dont like the presentation/writing... Read more
Published 1 month ago by TP_FAN

5.0 out of 5 stars Lives up to the title - best book I've found on SQL Fundamentals
I'm not a SQL programmer or DBA. I use SQL to query databases and write reports in SSRS (Microsoft SQL Server Reporting Services). Read more
Published 1 month ago by T. Walters

4.0 out of 5 stars Incorrect description
Contrary to the description, this is not the Pro-Developer title. the correct PRO-Developer title is:
Inside Microsoft® SQL Server® 2008: T-SQL Querying

If you... Read more
Published 3 months ago by Alexander Weitzer

5.0 out of 5 stars Well-written book on T-SQL
This book not only covers the how of T-SQL but also the why. Ben-Gan does a good job explaining the theory behind the basic T-SQL Commands. Read more
Published 4 months ago by Pat in Georgia

5.0 out of 5 stars MS SQL Server 2008: T-SQL Fundamentals
This book is excellent. I began reading this book with a limited knowledge of SQL picked up from basic trial and error coding. Read more
Published 4 months ago by Ryan C. Fox

5.0 out of 5 stars Awesome Book
Awesome book on SQL 2008. If you are working with SQL 2008, you HAVE to have this book.
Published 5 months ago by Keith S. Safford

5.0 out of 5 stars A Clear Standout
There are tons of SQL books on the market; this author's books shine above the rest.

Itzik Ben-Gan has become a favourite author. Read more
Published 6 months ago by Richard Sveyda

5.0 out of 5 stars Really helpfull
I found this book really helpful for a beginner in SQL server. I think this book is going to be helpful for people with advanced knowledge in SQL as well. Read more
Published 7 months ago by Xavier P

4.0 out of 5 stars Thinking in SQL
I'm primarily a C++ and Java developer who hasn't worked on SQL for a while. I needed a book to refresh my T-SQL but didn't want to invest in beginners book so I tried to borrow... Read more
Published 7 months ago by SmallBizGuy

Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
Book's Companion Website (www.insidetsql.com) 4 24 days ago
See all discussions...  
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
   




Product Information from the Amapedia Community

Beta (What's this?)


Look for Similar Items by Category


Look for Similar Items by Subject

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.