Inside Microsoft Sql Server 2005

Inside Microsoft Sql Server 2005

by Dejan Sarka, Itzik Ben-Gan, Lubor Kollar, Roger Wolter
     
 

Get a detailed look at the internal architecture of T-SQL with this comprehensive programming reference. Database developers and administrators get best practices, expert techniques, and code samples to master the intricacies of the programming language—solving complex problems with real-world solutions.

Discover how to:

  • Understand when to

Overview

Get a detailed look at the internal architecture of T-SQL with this comprehensive programming reference. Database developers and administrators get best practices, expert techniques, and code samples to master the intricacies of the programming language—solving complex problems with real-world solutions.

Discover how to:

  • Understand when to apply set-based programming techniques
  • Design and implement date and time-related XML and CLR datatypes
  • Use temporary objects, including temporary tables, table variables, and table expressions
  • Work with T-SQL and CLR user-defined functions, stored procedures, and triggers
  • Support user input-based queries and variable data with dynamic execution
  • Work with transactions and new exception handling constructs
  • Apply a concurrency model to support simultaneous users
  • Use Service Broker for controlled asynchronous processing in database applications

      This book includes code samples on the Web.

Editorial Reviews

bn.com
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

Product Details

ISBN-13:
9780735621978
Publisher:
Microsoft Press
Publication date:
05/24/2006
Series:
PRO-Developer
Edition description:
REV
Pages:
536
Product dimensions:
7.30(w) x 8.90(h) x 1.40(d)

Meet the Author

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.

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >