Series: Developer Reference
Paperback: 864 pages
Publisher: Microsoft Press; 1 edition (March 16, 2015)
Language: English
ISBN-10: 0735685045
ISBN-13: 978-0735685048
Product Dimensions: 7.4 x 1.9 x 9 inches
Shipping Weight: 3.2 pounds (View shipping rates and policies)
Average Customer Review: 4.8 out of 5 stars See all reviews (20 customer reviews)
Best Sellers Rank: #122,180 in Books (See Top 100 in Books) #49 in Books > Computers & Technology > Databases & Big Data > SQL #116 in Books > Textbooks > Computer Science > Database Storage & Design #470 in Books > Textbooks > Computer Science > Programming Languages
Hi,I have written a detailed chapter-by-chapter review of this book on www DOT i-programmer DOT info, the first and last parts of this review are given here. For my review of all chapters, search i-programmer DOT info for STIRK together with the book's title.This book from SolidQ aims to give you a deeper understanding of T-SQL functionality. With an emphasis throughout on performance, how does it fare?This book is both an update to, and a combination of, three previous books (T-SQL Querying – published 2009, T-SQL Programming -2009, and T-SQL Using Window Functions - 2012). New material from SQL Server 2012 and 2014 is discussed, including: Window Functions, the new cardinality estimator, sequences, columnstore technology, and in-memory OLTP. It comes from SolidQ and is written by some of the most respected names in the world of SQ Server.Aimed primarily at developers and administrators, it offers a detailed view of internal architecture and a comprehensive programming reference. It aims to provide a practical approach together with techniques to optimize code. This is not a book for the beginner, it assumes at least one year's solid experience of T-SQL programming, and tuning basics.Below is a chapter-by-chapter exploration of the topics covered.Chapter 1 Logical query processingThis chapter opens with an observation about experts - they build their knowledge upon a solid understanding of the basics. So this chapter starts with a look at the basics, logical query processing i.e. the logical order the various parts of a T-SQL statement are executed. Each step is discussed in detail, these steps are:1. FROM phase (include virtual table for each of the possible types of join)2.
We've all been there: taking over a project from someone else only to wonder what they were doing as the code was poorly written.This book is going to make realize YOU are also writing bad code.Not intentionally, of course, but Ben-Gan really puts emphasis on performance and analyzing queries to show there's a better way to do a query, as most of the examples are what we see and write every day.He doesn't just give a single code and say "Do it this way from now on." Instead, he talks to you as a professional and shows you the differences between doing the same query multiple ways.Most of us think we understand how SQL works, but I can attest, both from my own ignorance and others' viewpoints, we really don't. Ben-Gan has been with SQL for many years, both in development of the database structure and how to write queries to take advantage of those changes.The logical processing chapter, which is important given it's the first chapter, should open the eyes of many SQL code writers out there. This knowledge alone will have you rethinking SQL code as the chapters progress (and he quizzes you on some basic queries to try and guess the outcome, only to show why our thinking isn't taking advantage of SQL at all).Like many, I learned SQL on previous versions, not really giving much thought to the actual database design as I simply use "new code features" introduced with the new databaseAs a recommendation, knowing how SQL works under the hood is just as important as knowing if a CTE is a better use than a temp table.We always want to learn and improve, and this book is definitely a first step to doing both at the same time.Pros:-This book is written to you, not at you!
SQL: Learn SQL In A DAY! - The Ultimate Crash Course to Learning the Basics of SQL In No Time (SQL, SQL Course, SQL Development, SQL Books, SQL for Beginners) T-SQL Querying (Developer Reference) SQL: QuickStart Guide - The Simplified Beginner's Guide To SQL (SQL, SQL Server, Structured Query Language) Microsoft SQL Server 2012 High-Performance T-SQL Using Window Functions (Developer Reference) SQL: Beginner's Guide for Coding SQL (database programming, computer programming, how to program, sql for dummies, java, mysql, The Oracle, python, PHP, ... (HTML, Programming, Coding, CSS Book 7) Microsoft SQL Server 2012 Internals (Developer Reference) Pro SQL Server 2012 BI Solutions (Expert's Voice in SQL Server) SQL: The Ultimate Beginners Guide: Learn SQL Today SQL Queries for Mere Mortals: A Hands-On Guide to Data Manipulation in SQL (3rd Edition) SQL Server 2012 Integration Services Design Patterns (Expert's Voice in SQL Server) SQL Queries for Mere Mortals(R): A Hands-On Guide to Data Manipulation in SQL Head First SQL: Your Brain on SQL -- A Learner's Guide SQL Handbook: Learning The Basics Of SQL Programming (Computer Science Programming) (Computer Programming For Beginners) SQL and Relational Theory: How to Write Accurate SQL Code Programming: Computer Programming for Beginners: Learn the Basics of Java, SQL & C++ - 3. Edition (Coding, C Programming, Java Programming, SQL Programming, JavaScript, Python, PHP) Beginning SQL Server 2008 Express for Developers: From Novice to Professional (Expert's Voice in SQL Server) Pro SQL Server 2008 Failover Clustering (Expert's Voice in SQL Server) The Practical SQL Handbook: Using SQL Variants (4th Edition) Expert T-SQL Window Functions in SQL Server MySQL Pocket Reference: SQL Statements, Functions and Utilities and more (Pocket Reference (O'Reilly))