Skip to main content
  • Book
  • © 2014

Beginning T-SQL

Apress
  • Beginning T-SQL is a performance-oriented introduction to the T-SQL language that underlies Microsoft’s SQL Server 2012 and 2014.

  • 28k Accesses

Buy it now

Buying options

eBook USD 44.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (18 chapters)

  1. Front Matter

    Pages i-xxix
  2. Getting Started

    • Kathi Kellenberger, Scott Shaw
    Pages 1-18
  3. Exploring Database Concepts

    • Kathi Kellenberger, Scott Shaw
    Pages 19-29
  4. Writing Simple SELECT Queries

    • Kathi Kellenberger, Scott Shaw
    Pages 31-58
  5. Using Built-In Functions and Expressions

    • Kathi Kellenberger, Scott Shaw
    Pages 59-100
  6. Joining Tables

    • Kathi Kellenberger, Scott Shaw
    Pages 101-126
  7. Building on Subqueries, Common Table Expressions, and Unions

    • Kathi Kellenberger, Scott Shaw
    Pages 127-146
  8. Grouping and Summarizing Data

    • Kathi Kellenberger, Scott Shaw
    Pages 147-168
  9. Discovering Windowing Functions

    • Kathi Kellenberger, Scott Shaw
    Pages 169-191
  10. Advanced WHERE Clauses

    • Kathi Kellenberger, Scott Shaw
    Pages 193-210
  11. Manipulating Data

    • Kathi Kellenberger, Scott Shaw
    Pages 211-240
  12. Writing Advanced Queries

    • Kathi Kellenberger, Scott Shaw
    Pages 241-273
  13. Understanding T-SQL Programming Logic

    • Kathi Kellenberger, Scott Shaw
    Pages 275-308
  14. Managing Transactions

    • Kathi Kellenberger, Scott Shaw
    Pages 309-324
  15. Implementing Logic in the Database

    • Kathi Kellenberger, Scott Shaw
    Pages 325-377
  16. Working with XML

    • Kathi Kellenberger, Scott Shaw
    Pages 379-401
  17. Expanding on Data Type Concepts

    • Kathi Kellenberger, Scott Shaw
    Pages 403-431
  18. Running SQL Server in the Cloud

    • Kathi Kellenberger, Scott Shaw
    Pages 433-447
  19. Where to Go Next?

    • Kathi Kellenberger, Scott Shaw
    Pages 449-452
  20. Back Matter

    Pages 453-461

About this book

    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

    strongKathi Kellenberger/strong is a consultant with Linchpin People. 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. In her spare time, Kathi enjoys spending time with family and friends, singing and cycling.

    Bibliographic Information

    Buy it now

    Buying options

    eBook USD 44.99
    Price excludes VAT (USA)
    • Available as EPUB and PDF
    • Read on any device
    • Instant download
    • Own it forever

    Tax calculation will be finalised at checkout

    Other ways to access