Book Excerpt: The .NET Framework and SQL Server 2005

This excerpt from "Professional SQL Server 2005 Programming" demonstrates what the database gains from its close relationship with the .NET Framework 2.0.

For developers making the transition from SQL Server 2000 to SQL Server 2005, there is much to study -- native

data encryption, SQL Server Integration Services, the Service Broker and more robust T-SQL. One of the biggest changes, though, is the addition of .NET assemblies and the CLR, which were absent from SQL Server 2000 because, well, .NET was still just an idea back then.

Nothing but NET!, Chapter 14 of Wrox Press' Professional SQL Server 2005 Programming, takes a look at what the .NET Framework brings to the database. Author Robert Vieira divides his chapter into four main sections:

  1. Assemblies, which are just DLLs created in managed code (any .NET programming language will do);
  2. Aggregate Functions, which look at data sets, analyze them and return a corresponding value, none of which T-SQL user-defined functions can do;
  3. Creating Triggers, which due to their contextual nature are a bit different from most Assembly types, and
  4. Custom Data Types, which thanks to .NET assemblies can contain complex rules, multiple properties or just about anything else one can imagine.

Read the rest of the excerpt in this PDF.

 


Excerpted from the Wrox Press book, Professional SQL Server 2005 Programming (ISBN: 978-0-7645-8434-3) by Robert Vieira.
Copyright © 2006. Published by John Wiley and Sons Inc., and available at your favorite book seller. Reprinted with permission.

This was first published in July 2007

Dig deeper on SQL Server and .NET development

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchCloudComputing

SearchSoftwareQuality

SearchSOA

TheServerSide

SearchCloudApplications

Close