Beginning T-SQL, Third Edition

  • 6h 47m
  • Kathi Kellenberger, Scott Shaw
  • Apress
  • 2014

Beginning T-SQL is a performance-oriented introduction to the T-SQL language underlying the Microsoft SQL Server database engine. T-SQL is essential in writing SQL statements to get data into and out of a database. T-SQL is the foundation for business logic embedded in the database in the form of stored procedures and functions. Beginning T-SQL starts you on the path to mastering T-SQL, with an emphasis on best-practices and sound coding techniques leading to excellent performance. This new edition is updated to cover the essential features of T-SQL found in SQL Server 2014, 2012, and 2008.

Beginning T-SQL, begins with an introduction to databases, normalization, and to SQL Server Management Studio. Attention is given to Azure SQL Database and how to connect to remote databases in the cloud. Each subsequent chapter teaches an aspect of T-SQL, building on the skills learned in previous chapters. Exercises in most chapters provide an opportunity for the hands-on practice that leads to true learning and distinguishes the competent professional. Important techniques such as windowing functions are covered to help write fast executing queries that solve real business problems.

A stand-out feature in this book is that most chapters end with a "Thinking About Performance" section. These sections cover aspects of query performance relative to the content just presented. They'll help you avoid beginner mistakes by knowing about and thinking about performance from Day 1.

  • Imparts best practices for writing T-SQL
  • Helps you avoid common errors
  • Shows how to write scalable code for good performance

About the Authors

Kathi Kellenberger is a Sr. Consultant with Pragmatic Works. She enjoys writing and speaking on SQL Server topics, having written over two dozen articles, contributed to four books, and presented at many SQL Server events.

Scott Shaw has over a decade of experience mostly centered around data management. He has worked as both an Oracle and SQL Server DBA. He has worked as a consultant on Microsoft business intelligence projects utilizing both Tabular and OLAP models. Scott also provides corporate training and speaking around distributed computing, Big Data concepts, business intelligence, Pig, Hive, and SQL Server. He is an MCSA and MCT. Scott currently works as a Solutions Engineer for Hortonworks.

In this Book

  • Getting Started
  • Exploring Database Concepts
  • Writing Simple SELECT Queries
  • Using Built-In Functions and Expressions
  • Joining Tables
  • Building on Subqueries, Common Table Expressions, and Unions
  • Grouping and Summarizing Data
  • Discovering Windowing Functions
  • Advanced WHERE Clauses
  • Manipulating Data
  • Writing Advanced Queries
  • Understanding T-SQL Programming Logic
  • Managing Transactions
  • Implementing Logic in the Database
  • Working with XML
  • Expanding on Data Type Concepts
  • Running SQL Server in the Cloud
  • Where to Go Next?
SHOW MORE
FREE ACCESS