0%

Book Description

Since its introduction over a decade ago, the Microsoft SQL Server query language, Transact-SQL, has become increasingly popular and more powerful. The current version sports such advanced features as OLE Automation support, cross-platform querying facilities, and full-text search management.

This book is the consummate guide to Microsoft Transact-SQL. From data type nuances to complex statistical computations to the bevy of undocumented features in the language, The Guru's Guide to Transact-SQL imparts the knowledge you need to become a virtuoso of the language as quickly as possible.

In this book, you will find the information, explanations, and advice you need to master Transact-SQL and develop the best possible Transact-SQL code. Some 600 code examples not only illustrate important concepts and best practices, but also provide working Transact-SQL code that can be incorporated into your own real-world DBMS applications.

Your journey begins with an introduction explaining language fundamentals such as database and table creation, inserting and updating data, queries, joins, data presentation, and managing transactions. Moving on to more advanced topics, the journey continues with in-depth coverage of:

  • Transact-SQL performance tuning using tools such as Query Analyzer and Performance Monitor

  • Nuances of the various T-SQL data types

  • Complex statistical calculations such as medians, modes, and sliding aggregates

  • Run, sequence, and series identification and interrogation

  • Advanced Data Definition Language (DDL) and Data Management Language (DML) techniques

  • Stored procedure and trigger best practices and coding methods

  • Transaction management

  • Optimal cursor use and caveats to look out for

  • Full-text search

  • Hierarchies and arrays

  • Administrative Transact-SQL

  • OLE Automation

  • More than 100 undocumented commands and language features, including numerous unpublished DBCC command verbs, trace flags, stored procedures, and functions

  • Comprehensive, written in understandable terms, and full of practical information and examples, The Guru's Guide to Transact-SQL is an indispensable reference for anyone working with this database development language. The accompanying CD-ROM includes the complete set of code examples found in the book as well as a SQL programming environment that will speed the development of your own top-notch Transact-SQL code.

    Table of Contents

    1. Title Page
    2. Copyright Page
    3. Contents
    4. Foreword
    5. Preface
    6. Chapter 1: Introductory Transact-SQL
    7. Chapter 2: Transact-SQL Data Type Nuances
    8. Chapter 3: Missing Values
    9. Chapter 4: DDL Insights
    10. Chapter 5: DML Insights
    11. Chapter 6: The Mighty SELECT Statement
    12. Chapter 7: Views
    13. Chapter 8: Statistical Functions
    14. Chapter 9: Runs and Sequences
    15. Chapter 10: Arrays
    16. Chapter 11: Sets
    17. Chapter 12: Hierarchies
    18. Chapter 13: Cursors
    19. Chapter 14: Transactions
    20. Chapter 15: Stored Procedures and Triggers
    21. Chapter 16: Transact-SQL Performance Tuning
    22. Chapter 17: Administrative Transact-SQL
    23. Chapter 18: Full-Text Search
    24. Chapter 19: OLE Automation
    25. Chapter 20: Undocumented T-SQL
    26. Chapter 21: Potpourri
    27. Appendix: Suggested Resources
    28. Index
    18.218.55.14