Beginning T-SQL 2008

Front Cover
Apress, Oct 13, 2009 - Computers - 300 pages

Even if you have little or no knowledge of T-SQL, Beginning T-SQL 2008 will bring you up to intermediate level and teach you best practices along the way. You'll learn how to write code that will help you to achieve the best-performing applications possible.

You'll find an introduction to databases, normalization, and SQL Server Management Studio. You'll understand how data is stored in a database and learn how to use at least one of the available tools to get to that data.

Each subsequent chapter teaches an aspect of T-SQL, building on the skills learned in previous chapters. Exercises are included in each chapter because the only way to learn T-SQL is to write some code.

This book will do more than just give the syntax and examples. It will teach you techniques to help you avoid common errors and create robust and well-performing code.

  • Imparts best practices for writing T-SQL
  • Helps readers avoid common errors
  • Shows how to write scalable code that yields good performance
What you’ll learn
  • Understand the fundamentals of relational theory, upon which Transact-SQL is based
  • Write accurate queries that are scalable and perform well
  • Combine set-based and procedural processing, obtaining the best from both worlds
  • Embed business logic in your database through stored procedures and functions
  • Simplify your work through new and advanced features such as common-table expressions and virtual tables
  • Enhance performance by knowing when to apply features such table value parameters
Who this book is for

This book is for developers who will be writing database applications against SQL Server databases.

Table of Contents
  1. Getting Started
  2. Writing Simple SELECT Queries
  3. Using Functions and Expressions
  4. Querying Multiple Tables
  5. Grouping and Summarizing Data
  6. Manipulating Data
  7. Understanding T-SQL Programming Logic
  8. Moving Logic to the Database
  9. Working with New Data Types
  10. Writing Advanced Queries
  11. Where to Go Next?

What people are saying - Write a review

We haven't found any reviews in the usual places.

Other editions - View all

About the author (2009)

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.