Join Books.org — it's free

Inside Microsoft SQL Server 2005: T-SQL Programming, Vol. 2 by Itzik Ben-Gan — book cover
SQL, Database Administration & Management, SQL (Programming Language), Client-Server Computing

Inside Microsoft SQL Server 2005: T-SQL Programming, Vol. 2

by Itzik Ben-Gan, Roger Wolter, Dejan Sarka
Write a review
Log in to track your reading progress.

Overview

This thorough, hands-on reference for database developers and administrators delivers expert guidance on sophisticated uses of Transact-SQL (T-SQL)-one of the most familiar and powerful programming languages for SQL Server. Written by a T-SQL guru, this guide focuses on language features and how they are interpreted and processed by the SQL Server execution engine. You'll get in-depth coverage of the sophisticated uses of T-SQL, including triggers, user-defined functions, exception handling, and more. The book explains and compares solutions to database-development problems in both SQL Server 2000 and SQL Server 2005, discussing the new T-SQL programming features added to SQL Server 2005 in detail. Includes extensive code samples, table examples, and logic puzzles to help database developers and administrators understand the intricacies and help promote mastery of T-SQL.

Synopsis

This thorough, hands-on reference for database developers and administrators delivers expert guidance on sophisticated uses of Transact-SQL (T-SQL)-one of the most familiar and powerful programming languages for SQL Server. Written by a T-SQL guru, this guide focuses on language features and how they are interpreted and processed by the SQL Server execution engine. You'll get in-depth coverage of the sophisticated uses of T-SQL, including triggers, user-defined functions, exception handling, and more. The book explains and compares solutions to database-development problems in both SQL Server 2000 and SQL Server 2005, discussing the new T-SQL programming features added to SQL Server 2005 in detail. Includes extensive code samples, table examples, and logic puzzles to help database developers and administrators understand the intricacies and help promote mastery of T-SQL.

About the Author, Itzik Ben-Gan

Itzik Ben-Gan is a mentor and cofounder of Solid Quality Mentors. A Microsoft MVP for SQL Server since 1999, Ben-Gan teaches and consults internationally on T-SQL querying, programming, and query tuning. He is the coauthor of Inside Microsoft SQL Server: T-SQL Querying and Inside Microsoft SQL Server:T-SQL Programming. He has written numerous articles for SQL Server Magazine and MSDN®, and speaks at industry events such as Microsoft Tech*Ed, DevWeek, PASS, and SQL Server Connections.

Lubor Kollar is group program manager with the SQL Server Customer Advisory Team at Microsoft, working on the most challenging SQL Server deployments worldwide. He has 13+ years of experience with SQL Server development.

Dejan Sarka is MCT and MCDBA certified and a Microsoft® MVP for SQL Server®. He teaches and consults for Solid Quality Mentors, speaks at TechEd and PASS, and develops OLTP, OLAP, and data mining solutions.

Reviews

There are no reviews yet. Log in to write one.

Editorials

From Barnes & Noble

The Barnes & Noble Review
If you’re an experienced T-SQL programmer, or a database pro who writes or reviews T-SQL code, Inside Microsoft SQL Server 2005: T-SQL Programming will take your T-SQL skills to a whole new level.

We’ve praised this book’s companion volume, Inside Microsoft SQL Server 2005: T-SQL Querying, elsewhere. Here, Microsoft SQL Server MVP Itzik Ben-Gan turns from set-based querying to programmatic T-SQL constructs, while also offering extensive coverage of both XML and .NET integration.

Ben-Gan opens by discussing several crucial datatype-related programming problems. You’ll learn how to avoid trouble with DATETIME arising from misconceptions about its storage format, or differences in its representation conventions. You’ll also gain important pointers on character manipulation, from pattern matching and parsing to case sensitivity.

Next, Ben-Gan turns to another common task: materializing data temporarily. He compares temporary tables to other alternatives, shows how to use the right temporary object for each task, and helps programmers avoid abusing temporary tables and variables. There’s a full chapter on cursors: when they still make sense and why they so often don’t.

After thorough discussions of dynamic execution and views, Ben-Gan and contributing author Dejan Sarka turn to XML and .NET integration via user-defined types and functions, stored procedures, and triggers (both CLR and DDL). You’ll find extensive code samples, available in both C# and Visual Basic .NET.

The book’s full chapter on transactions introduces SQL Server 2005’s new snapshot-based isolation levels and shows how they minimize blocking. Finally, another guest author -- Roger Wolter -- is singularly well qualified to write this book’s Service Broker coverage. He’s the Microsoft program manager who helped create it. Bill Camarda, from the June 2006 Read Only

Book Details

Published
June 1, 2006
Publisher
Microsoft Press
Pages
536
Format
Paperback
ISBN
9780735621978

More by Itzik Ben-Gan

Similar books