| By Steven Mandel | Article Rating: |
|
| May 31, 2007 05:00 PM EDT | Reads: |
7,870 |
With the release of a major new version of SQL Server, it's incumbent on developers to take time to refresh and enhance their knowledge of this new version of T-SQL (Transact SQL) and stored procedure programming. The challenge is to find a good book that will cover the highlights but not give you a hernia in the process. Dejan Sunderic's book fits this bill.
The book consists of 21 chapters and three appendices. The first 10 chapters provide a nice review of current and new features of the T-SQL found in SQL Server 2005. There is a review of the new SQL Server environment as well as a discussion of stored procedure design concepts. Each chapter from Chapter 4 through 10 covers an important T-SQL concept such as functions and error handling. You might be very interested in Chapters 11 through 14 because the author walks you through numerous examples of how to develop stored procedures using .NET CLR (Common Language Runtime).
In the final chapters, he covers a lot of material and important topics such as advanced stored procedure programming and using source code control inside Visual Studio to protect your stored procedures. He also covers issues of security. If you've never used a debugger on stored procedures, then you're going to want to read the chapter on debugging, which also contains a clever "poor man's debugger."
I'll admit though that there are one or two areas that disappointed me a bit. For instance, Mr. Sunderic uses his own SQL Server database "Asset5" for many of the examples. I really didn't feel that it added much to the discussion and I would have preferred he used the "AdventureWorks" database instead since that's the new standard demo database that Microsoft provides for SQL Server 2005. Also, while most of his examples are really good, the one on common table expressions didn't really show the power behind this new feature. In fact, when he discusses the row number function, he doesn't touch on the important topic of removing duplicate records in SQL Server. With a combination of common table expressions and the row number function, it's become extremely easy to do this.
The book is a good review of existing T-SQL language concepts and does a good job of covering new features. The book is peppered with Mr. Sunderic's useful insights and observations. If you're looking to find out what's new in T-SQL and stored procedure programming, you'll find this book quite helpful.
Developers Note
To run stored procedures using CLR in SQL Server 2005 you'll need to run the this script against your database:
ALTER DATABASE <database> SET TRUSTWORTHY ON
go
sp_configure 'clr enabled', 1
go
reconfigure
go
Published May 31, 2007 Reads 7,870
Copyright © 2007 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Steven Mandel
Steven Mandel has worked in the IT industry for over 15 years designing databases using Microsoft Access and SQL Server. He has developed Web and Windows applications using VB.NET and has written numerous articles and reviews about ASP.NET and VB.NET.
- Kindle 2 vs Nook
- Practical Approaches for Optimizing Website Performance
- SQL Anywhere Server and AJAX
- PowerBuilder Top Feature Picks
- The Difference Between Web Hosting and Cloud Computing
- PowerBuilder 12 and .NET
- Contrary Opinion: Why Silverlight is Good for Adobe
- Ajax in RichFaces 3.3, JSF 2 and RichFaces 4
- Wave on Ulitzer: Confessions of a Google Wave Fanboy
- Cloud Computing Best Practices
- AJAX World RIA Conference & Expo Kicks Off in New York City
- Rich Content Rotator for ASP.NET
- RIAs for Web 3.0 Using the Microsoft Platform
- Kindle 2 vs Nook
- Practical Approaches for Optimizing Website Performance
- Social Media Terrorists
- SQL Anywhere Server and AJAX
- SYS-CON's Cloud Expo Adds Two New Tracks
- PowerBuilder Top Feature Picks
- The Difference Between Web Hosting and Cloud Computing
- Google Maps and ASP.NET
- Crystal Reports XI & How It Has Changed
- Converting VB6 to VB.NET, Part I
- Creating Controls for.NET Compact Framework in Visual Studio 2005
- Where Are RIA Technologies Headed in 2008?
- How to Write High-Performance C# Code
- AJAX World RIA Conference & Expo Kicks Off in New York City
- Implementing Tab Navigation with ASP.NET 2.0
- i-Technology Photo Exclusive: Bill Gates & Steve Jobs In "Nerds"
- .NET Archives: Getting Reacquainted with the Father of C#


































