text.skipToContent text.skipToNavigation
  1. Home
  2. Computer Science & IT
  3. Guru's Guide to Transact-SQL, The

Guru's Guide to Transact-SQL, The, 1st edition

  • Ken Henderson

Published by Addison-Wesley Professional (February 23rd 2000) - Copyright © 2000

1st edition

Chosen format
View all
Guru's Guide to Transact-SQL, The

ISBN-13: 9780201615760

Includes: Paperback
Free delivery
$69.99

What's included

  • Paperback

    You'll get a bound printed text.

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.



0201615762B04062001

Table of contents



Foreword.


Preface.

About the Sample Databases.

Results Abridged.

On Formality.

Acknowledgments.


1. Introductory Transact-SQL.

Choosing a SQL Editor.

Creating a Database.

Creating Tables.

Inserting Data.

Updating Data.

Deleting Data.

Querying Data.

Column Lists.

SELECTing Variables and Expressions.

Functions.

Converting Data Types.

CASE.

Aggregate Columns.

Filtering Data.

Joins.

Outer Joins.

Other Types of Joins.

Subqueries.

Grouping Data.

HAVING.

Ordering Data.

Column Aliases.

Table Aliases.

Managing Transactions.

Summary.


2. Transact-SQL Data Type Nuances.

Dates.

Y2K and Other Date Problems.

Date Functions.

Dates and Simple Arithmetic.

Determining Time Gaps.

Building Calendars.

Strings.

Concatenation.

Char vs. Varchar.

SET ANSI_PADDING.

String Functions.

CHARINDEX().

SOUNDEX().

A Better SOUNDEX().

DIFFERENCE().

Xp_sprintf.

Xp_sscanf.

Masks.

Executing Strings.

Unicode.

Numerics.

Floating Point Fun.

Division by Zero.

Funny Money.

Formatting Numeric Data.

BLOBs.

Caveats.

Retrieving BLOB Data.

For teachers

All the material you need to teach your courses.

Discover teaching material