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