SQL Server T-SQL Recipes

4th Edition

By Jason Brimhall , David Dye , Wayne Sheffield , Andy Roberts

SQL Server T-SQL Recipes Cover Image

SQL Server T-SQL Recipes is an example-based guide to the Transact-SQL language that is at the core of SQL Azure and SQL Server. It provides ready-to-implement solutions to common programming and database administration tasks.

Full Description

  • ISBN13: 978-1-484200-62-9
  • 700 Pages
  • User Level: Intermediate to Advanced
  • Publishing March 17, 2015, but available now as part of the Alpha Program
  • Available eBook Formats: EPUB, MOBI, PDF
  • Print Book Price: $59.99
  • eBook Price: $41.99

Related Titles

Full Description

SQL Server T-SQL Recipes is an example-based guide to the Transact-SQL language that is at the core of SQL Azure and SQL Server. This edition has been lightly updated for SQL Server 2014. The book provides ready-to-implement solutions to common programming and database administration tasks. Learn to create databases, create in-memory tables and in-memory stored procedures, insert and update data, generate reports, secure your data, and more. Tasks and their solutions are broken down into a problem/solution format that is quick and easy to read so that you can get the job done fast when the pressure is on. 

Solutions in this book are divided into chapters by problem domain. Each chapter is a collection of solutions around a single facet of the language such as writing queries, developing in-memory T-SQL solutions, working in SQL Azure, and query performance. Each solution is presented code-first, giving you a working code example to copy from and implement immediately in your own environment. Following each example is an in-depth description of how and why the given solution works. Tradeoffs and alternative approaches are also discussed. 

  • Focused on solutions: Look up what you need to do. Learn how to do it. Do it.
  • Current: Newly updated for SQL Server 2014
  • Comprehensive: Covers all common T-SQL problem domains

What you’ll learn

  • Create databases, tables, and indexes
  • Query and manipulate data
  • Move business logic into the database
  • Build reports that matter to your business.
  • Perform common backup and recovery tasks
  • Take advantage ofwindow functions in your SQL

Who this book is for

SQL Server T-SQL Recipes is aimed at technically-oriented users of SQL Server desiring to extract the full power of the platform through it's powerful, built-in programming and scripting language. Target readers include developers who use Microsoft SQL Azure and SQL Server as their back–end database platforms, and the database administrators who create, manage, and secure those databases.

Table of Contents

Table of Contents

1. Getting Started with SELECT
2. Elementary Programming
3. Nulls and Other Pitfalls
4. Combining Data from Multiple Tables
5. Grouping and Summarizing
6. Advanced SELECT Techniques
7. Query Techniques for Reporting
8. Inserting, Updating, Deleting
9. Working with Strings
10. Working with Dates
11. Working with Numbers
12. Transactions, Locking, Blocking, Deadlocking
13. Working in SQL Azure
14. Managing Tables
15. Managing Views
16. Managing Indexes
17. Managing Large Tables
18. Stored Procedures
19. User-Defined Functions
20. In-Memory T-SQL
21. Triggers
22. Error Handling
23. Query Performance
24. Hints
25. Index Tuning and Statistics
26. XML
27. Files, Filegroups, and Integrity
28. Backup
29. Recovery
30. Principals and Users
31. Securables and Permissions
32. Objects and Dependencies


Errata

Please Login to submit errata.

No errata are currently published