×

Uh-oh, it looks like your Internet Explorer is out of date.

For a better shopping experience, please upgrade now.

The Guru's Guide to Transact-SQL
     

The Guru's Guide to Transact-SQL

4.8 14
by Ken Henderson
 

See All Formats & Editions

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.

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.

Editorial Reviews

Booknews
A book/CD-ROM guide to mastering Microsoft Transact-SQL and developing the best possible 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 real-world DBMS applications. Begins by explaining language fundamentals such as database and table creation, then moves on to advanced topics such as OLE automation. The CD-ROM contains a set of code examples from the book plus a SQL programming environment. Henderson is a nationally recognized consultant and leading DBMS practitioner. Annotation c. Book News, Inc., Portland, OR (booknews.com)

Product Details

ISBN-13:
9780321630124
Publisher:
Pearson Education
Publication date:
02/23/2000
Sold by:
Barnes & Noble
Format:
NOOK Book
Pages:
592
File size:
14 MB
Note:
This product may take a few minutes to download.

Meet the Author

Ken Henderson, a nationally recognized consultant and leading DBMS practitioner, consults on high-end client/server projects for such customers as the U.S. Air Force, the U.S. Navy, H&R Block, Travelers Insurance, J.P. Morgan, the CIA, Owens-Corning, and CNA Insurance. He is the author of five previous books on client/server and DBMS development, a frequent magazine contributor to such publications as Software Development Magazine and DBMS Magazine, and a speaker at technical conferences.

Customer Reviews

Average Review:

Post to your social network

     

Most Helpful Customer Reviews

See all customer reviews

The Guru's Guide to Transact-SQL 4.9 out of 5 based on 0 ratings. 14 reviews.
Guest More than 1 year ago
own all three of Ken Henderson's SQL Server books. They stand apart from the rest of the crowd as the best books available on their respective subjects. Henderson takes a fresh approach to teaching that other authors would do well to emulate. What do I mean exactly? I mean this: Every point of any significance that is raised is illustrated with code when possible. There are hundreds of code examples in each of Henderson's books - many times what you usually see in DBA or programming books. No details are glosssed over. If you really want to know how something works or what the best approach is to doing something, you need these books. Another thing that is great about these books is how easy to read they are. Complex subjects are regularly broached with explanations and teaching that practically anyone could understand. Topics that trip up other authors or that they skip altogether are discussed in terms that anyone can grasp. It is difficult to convey just how important this is, but suffice it to say that the books are simply easy to read. If you want to know SQL Server at an expert level, you need look no further. Get all three of Henderson's books and read them cover-to-cover.
Guest More than 1 year ago
If you want the definitive codex on the Transact-SQL language, look no further. This book has code that will blow your mind. You'll be amazed at all the things you can do with Transact-SQL (and how fast the code runs). The book is concise, yet exhaustive - something you just don't see anymore. Good work, Mr. Henderson.
Guest More than 1 year ago
This book is not for starters. The examples are not fully explained. Organization is limited and the author seems to go his own mary way when writting code.
Guest More than 1 year ago
Henderson has such a smooth, natural sytle of writing that it make reading what he writes a pleasure. I have all the best computer books, but few compare with this one. I rank it up there with The Art of Computer Programming and Design Patterns. Through Henderson's easygoing manner and generous code samples, I have learned to love Transact-SQL and what it can do for me. This is a book that belongs in the backpack of every SQL Server practitioner on the planet.
Guest More than 1 year ago
I'm an old Informix hound who migrated to SQL Server when SQL Server 2000 came out. I guess I had a bit of a bias at first because I've always believed that SQL Server was kind of underpowered compared to the other players in the DBMS market. Not any more. This book opened my eyes. The Automation chapter shows how to do COM stuff from Transact SQL. The Stats chapter shows how to do involved statistics computations. The Admin chapter shows how to automate virtually any administrative task (stuff you could never do in Informix). The Performance chapter shows how to tweak your code for the maximum performance and demonstrates how advanced SQL Server's tuning tools are. I was blown away by the book. I've been buying a lot of books lately to ramp up on SQL Server, but this is by far the best.
Guest More than 1 year ago
I got this book because I wanted the ultimate reference on Microsoft Transact-SQL. I wasn't disappointed. This is the best book out there on T-SQL and very likely on SQL Server. The author cuts to the chase and gets down to business quickly. There's no fluff in this book and the author seems intent on delivering the goods as rapidly and as thoroughly as possible. The book is up-to-date, covering version 7.0 extensively while pointing out differences with previous versions. I highly recommend the book for anyone who develops SQL Server applications.
Guest More than 1 year ago
Looking for what is missing in the SQL documentation from MS, well look no further, This book is incredible, I mean you gain so much insight into programming SQL that you forget there are wizards that do lots of things, of course when using MS you have to consider that most Wizards dont work so the book becomes even better, There is only one thing I dont about this book and it is that it is too short (could add more stuff about Databases in general) and the samples are over complex and could be done with much simpler queries... Over all I would give 9 stars but I can only give 5, This is the Most have for people programming SQL................
Guest More than 1 year ago
This book is its own animal. It does not read like 90% of the other technical books out there. How many computer books do you know that have a social conscience? Not many, I'd bet, but this one does. The epigraphs that start each chapter are insightful and enlightening -- they alone make the book worth buying. But people don't usually buy technical books for philisophical insights, they buy them to learn how to do things. And that's the thing about this book, it delivers here, too -- big time. There's no stone left unturned -- every topic of any direct relevance to Transact-SQL is covered in depth. There's also very little fluff -- for example, you won't find any of the annoying screenshots of Query Analyzer that you see in so many other books. On the contrary, this book is *very* tight -- you definitely get your money's worth every time you sit down with it. The Guru's Guide to Transact-SQL reminds me of the way computer books were written before the age of the Internet: scholarly, deep, and insightful. This book is a well-written, old-style tome in the tradition of the programming classics, and it belongs in your library if you work regularly with SQL Server. The CD is also a great value. The Sequin query editor is better than every one of the commercially available Query Analyzer replacements that I've seen, yet it's included free on the CD. So in addition to a great book, yet get a tremendous value. What's not to like?
Guest More than 1 year ago
If you get one book to learn Transact-SQL inside and out, get this one. It's a compendium of all the best practices and time saving techniques that real SQL experts use. I learned so much from this book that I went out and bought a couple of my friends a copy. The chapters on statistics opened a whole new way of SQL development for me. Now I write queries that are half as long and run in half the time they once did. Highly recommended -- my first 5 star review ever.
Guest More than 1 year ago
I was scanning the Web the other night and looking for a Celko-esque treatment of Transact-SQL when I stumbled upon Henderson's book. This is exactly what I was after. It's both modern and thorough, something the other T-SQL books can't claim. It's also written extremely well. The author has a very lucid, to-the-point style of writing that is refreshing in these days of 1000-page books that say very little. My favorite chapter is the Performance & Tuning chapter. It could be its own book. If you're looking for a top-notch treatment of modern Transact-SQL, look no further.
Guest More than 1 year ago
This book is the best one available for *Microsoft* Transact-SQL. Note that it does not cover Sybase T-SQL, nor does it claim to. I actually think this is a good thing because it has allowed the author to cover the many nuances of Microsoft's version of the language, which is the most widely used, anyway. The chapters on Undocumented T-SQL and OLE Automation are, all by themselves, worth your money. I've looked for a book like this for a long time and now finally I've found it.
Guest More than 1 year ago
The book is full of useful info. Any serious T-SQL developer should read it cover-to-cover, then keep it within reach at all times. The chapters on Undocumented-TSQL and Performance & Tuning alone are worth the cost of the book. It's so deep and comprehensive, I often have to re-read a passage to really 'get it' -- it's definitely NOT a beginner book. If you're looking for the ultimate T-SQL tome, look no further. (I also appreciated the Sequin T-SQL programming environment. It has features that Query Analyzer could really use. It's the first 'real' programming environment I've ever used for T-SQL and comes free on the book's CD.)
Guest More than 1 year ago
I really liked this book. In just the first few chapters, I started learning new techniques right away, and that's saying something because I've been coding in T-SQL for nearly seven years. The expose on Undocumented T-SQL is worth the price of the book all by itself. I also appreciate how up-to-date the book is -- it covers version 7.0 extensively. If you want to become a T-SQL expert, get this book.
Guest More than 1 year ago
This is BY FAR the best book out there on Transact-SQL. For one thing, it's the only one to cover SQL Server 7.0 in any depth. For another, its chapters on performance & tuning and administrative T-SQL are some of the most useful tech book chapters I've ever seen. This book is a T-SQL tour de force if I've ever seen one. Henderson's relaxed style of writing and his exhaustive coverage of subjects usually absent from other T-SQL books (e.g., an entire chapter on undocumented T-SQL, one on statistical computations, one on OLE Automation via T-SQL, etc.) make this book a must-have for any serious SQL Server developer.