Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


Gain a solid understanding of T-SQL—and write better queries

Master the fundamentals of Transact-SQL—and develop your own code for querying and modifying data in Microsoft SQL Server 2012. Led by a SQL Server expert, you’ll learn the concepts behind T-SQL querying and programming, and then apply your knowledge with exercises in each chapter. Once you understand the logic behind T-SQL, you’ll quickly learn how to write effective code—whether you’re a programmer or database administrator.

Discover how to:

  • Work with programming practices unique to T-SQL

  • Create database tables and define data integrity

  • Query multiple tables using joins and subqueries

  • Simplify code and improve maintainability with table expressions

  • Implement insert, update, delete, and merge data modification strategies

  • Tackle advanced techniques such as window functions, pivoting and grouping sets

  • Control data consistency using isolation levels, and mitigate deadlocks and blocking

  • Take T-SQL to the next level with programmable objects

Subscriber Reviews

Average Rating: 5 out of 5 rating Based on 3 Ratings

"Best Intro SQL Book for Anyone" - by Anonymous on 15-MAR-2014
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
The book covers most topics needed to understand and develop sql code and databases.  Pictures and examples very clear and concise without noise.
Report as Inappropriate

"Great Job" - by Anonymous on 10-SEP-2013
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
Covers major topics on 2012. Have used it for learning tool and reference and has not disappointed.
Report as Inappropriate

Table of Contents