Skip to Content
The Guru's Guide to Transact-SQL
book

The Guru's Guide to Transact-SQL

by Ken Henderson
February 2000
Intermediate to advanced
592 pages
14h 36m
English
Addison-Wesley Professional

Overview

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.

    Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
    and much more.

    Read now

    Unlock full access

    More than 5,000 organizations count on O’Reilly

    AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

    QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
    Julian F.
    Head of Cybersecurity
    QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
    Addison B.
    Field Engineer
    QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
    Amir M.
    Data Platform Tech Lead
    QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
    Mark W.
    Embedded Software Engineer

    You might also like

    Microsoft® SQL Server® 2012 Step by Step

    Microsoft® SQL Server® 2012 Step by Step

    Patrick LeBlanc
    Microsoft® SQL Server 2008 R2 Unleashed

    Microsoft® SQL Server 2008 R2 Unleashed

    Ray Rankins, Paul Bertucci, Chris Gallelli, Alex T. Silverstein
    Microsoft® SQL Server 2005 Unleashed

    Microsoft® SQL Server 2005 Unleashed

    Ray Rankins, Paul Bertucci, Chris Gallelli, Alex T. Silverstein, Tudor Trufinescu, John Kane
    C# 4.0 Unleashed

    C# 4.0 Unleashed

    Bart De Smet

    Publisher Resources

    ISBN: 0201615762Purchase book