Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.

 

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

Have one to sell? Sell yours here
 
   
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 yours here.
 
  

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

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

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

Want it delivered Tuesday, July 14? Choose One-Day Shipping at checkout. Details
34 new from $25.97 18 used from $33.27
More from Microsoft Press
Make the most of your investment in Microsoft technology with books from the Microsoft Press Learning Center.

Special Offers and Product Promotions


Frequently Bought Together

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

Show availability and shipping details


Customers Who Bought This Item Also Bought

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
Inside Microsoft® SQL Server® 2008: T-SQL Querying

Inside Microsoft® SQL Server® 2008: T-SQL Querying

by Itzik Ben-Gan
5.0 out of 5 stars (1)  $31.49
Microsoft SQL Server 2008 Reporting Services

Microsoft SQL Server 2008 Reporting Services

by Brian Larson
4.5 out of 5 stars (8)  $31.49
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
Professional Microsoft SQL Server 2008 Integration Services (Wrox Programmer to Programmer)

Professional Microsoft SQL Server 2008 Integration Services (Wrox Programmer to Programmer)

by Brian Knight
3.5 out of 5 stars (6)  $31.49
Explore similar items

Editorial Reviews

Product Description
This book walks you through your first steps in T-SQL (also known as Transact-SQL), which is Microsoft SQL Server s dialect of the standard ANSI-SQL language. You ll learn the theory behind T-SQL querying and programming, how to develop T-SQL code to query and modify data, and get an overview of programmable objects. Although this book is intended for beginners, it is not merely a step-by-step book. It goes beyond the syntactical elements of T-SQL and explains the logic behind the language and its elements. Many aspects of SQL are unique to the language, and are very different from other programming languages. This book helps you adopt the right state of mind and gain a true understanding of the language elements. You learn how to think in terms of sets and follow good SQL programming practices. The book is not version-specific; it does, however, cover language elements that were introduced in recent versions of SQL Server, including SQL Server 2008. To complement the learning experience, the book provides exercises that enable you to practice what you ve learned. The book starts with a theoretical background to T-SQL querying and programming (Chapter 1) laying the foundations for the rest of the book, and also coverage of creating tables and defining data integrity. The book moves on to various aspects of querying and modifying data (Chapters 2 through 8), then to a discussion of concurrency and transactions (Chapter 9), and finally provides an overview of programmable objects (Chapter 10). This book features a companion Web site that makes available to you all the code used in the book, the errata, additional resources, and more.

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.9 out of 5 stars See all reviews (9 customer reviews)
  • Amazon.com Sales Rank: #10,012 in Books (See Bestsellers in Books)

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

    #3 in  Books > Computers & Internet > Microsoft > Development > SQL Server
    #5 in  Books > Computers & Internet > Databases > Database Management Systems
    #11 in  Books > Computers & Internet > Software > Databases

Inside This Book (learn more)

What Do Customers Ultimately Buy After Viewing This Item?

Microsoft® SQL Server® 2008 T-SQL Fundamentals (PRO-Developer)
73% buy the item featured on this page:
Microsoft® SQL Server® 2008 T-SQL Fundamentals (PRO-Developer) 4.9 out of 5 stars (9)
$31.49
Microsoft® SQL Server® 2008 Internals (Pro - Developer)
9% buy
Microsoft® SQL Server® 2008 Internals (Pro - Developer) 5.0 out of 5 stars (2)
$37.79
Inside Microsoft® SQL Server® 2008: T-SQL Querying
8% buy
Inside Microsoft® SQL Server® 2008: T-SQL Querying 5.0 out of 5 stars (1)
$31.49
Programming Microsoft SQL Server 2008 (PRO-Developer)
5% 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.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.
(2)

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

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

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

 
12 of 12 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)



 
8 of 8 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)



 
7 of 7 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)


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

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 7 days 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 25 days 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 1 month 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 2 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 3 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 3 months ago by SmallBizGuy

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (1 discussion)
  Discussion Replies Latest Post
Book's Companion Website (www.insidetsql.com) 1 April 2009
See all discussions...  
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]


   


Product Information from the Amapedia Community

Beta (What's this?)



Look for Similar Items by Category


Don't Slip and Slide

HeatTrak Heated Walkway

Keep your walkways safe and clear of snow and ice using the HeatTrak heated walkway.

Shop all HeatTrak heated walkways

 

Big Savings in Books

Bargain Books
Find great titles at fantastic prices in our Bargain Books Store.
 

$10 Off Nutrition Bars

$10 Off Nutrition Bars
This July, enjoy an extra $10 off select nutrition bars from favorite brands such as Larabar, Probar, PureFit, and Odwalla.

Shop this offer now

 

A Perfect Cut

Shop for router tables
A router table gives router owners even more options when using the most versatile tool in their workshop.

Shop for router tables now

 

 

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.


Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

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

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates