Wiley.com
Print this page Share

Professional SQL Server 2005 CLR Programming: with Stored Procedures, Functions, Triggers, Aggregates, and Types

ISBN: 978-0-470-05403-1
432 pages
December 2006
Professional SQL Server 2005 CLR Programming: with Stored Procedures, Functions, Triggers, Aggregates, and Types (0470054034) cover image

Description

SQL Server 2005 offers the capability to write code in a .NET language that can be compiled and run inside SQL Server. CLR Integration, or SQL CLR, lets you create stored procedures, user-defined types, triggers, table valued functions, and aggregates using a .NET managed language. You can read and write to resources outside of SQL Server and enjoy a tighter integration with XML, web services, and simple file and logging capabilities.

Here's the reference you'll want on your desk as you develop SQL CLR solutions. It helps you decide whether to use SQL CLR, how to lock down security, and learn from real examples. If you want to develop stored procedures or other objects in .NET for SQL Server 2005, this book offers exactly what you need.

What you will learn from this book

  • The concepts and architecture of SQL CLR
  • Uses of .NET namespaces in SQL Server programming tasks
  • How to develop and benchmark routines in T-SQL and .NET to determine when CLR-based solutions are advantageous
  • How to replace extended stored procedures using SQL CLR stored procedures
  • How to use SQL CLR objects in external applications
  • How to restrict and secure SQL CLR object capabilities
  • Processes and procedures for deploying SQL CLR objects

Who this book is for

This book is for developers and architects who are familiar with .NET concepts as well as DBAs who, although developers in their own right, may be slightly less up to date on .NET. A solid grounding in T-SQL is necessary.

Wrox Professional guides are planned and written by working programmers to meet the real-world needs of programmers, developers, and IT professionals. Focused and relevant, they address the issues technology professionals face every day. They provide examples, practical solutions, and expert education in new technologies, all designed to help programmers do a better job.

See More

Table of Contents

Acknowledgments.

Introduction.

Chapter 1: Introducing SQL CLR.

Chapter 2: Your First CLR Stored Procedure.

Chapter 3: SQL CLR Structure and Common Tasks.

Chapter 4: Creating SQL CLR Objects.

Chapter 5: Comparing T-SQL with Managed Code.

Chapter 6: Replacing Extended Stored Procedures, Functions, and Other T-SQL Objects.

Chapter 7: The .NET Framework's Base Class Library.

Chapter 8: Using SQL CLR Stored Procedures in Your Applications.

Chapter 9: Handling Errors in CLR Stored Procedures.

Chapter 10: CLR Administration and Security.

Chapter 11: Case Study.

Index.

See More

Author Information

Derek Comingore is an independent consultant, trainer, and speaker specializing in SQL Server and .NET technologies. He has recently strarted two ventures, an online Microsoft community for colleagues to learn from one another, located at www.RedmondSociety.com, and a second for SQL Server consulting at www.SQLServerDVAs.com. Derek holds the MCAD/MCDBA Microsoft certifications, the Carnegie Mellon Personal Software Process (PSP) credential, and an AAS/BS in Computer Information Systems from University of North Dakota. Derek's blog is located at hhtp://RedmondSociety.com/blogs/Derek.

Douglas Hinson has worked as an independent software and database consultant in the logistics and financial industries, with an extensive SQL Server background. He has coauthored several Wrox books, including Professional SQL Server 2005 Integration Services.

See More

Downloads

Download TitleSizeDownload
Download Code Files for All Chapters

These downloads are stored in a compressed .rar format. You may need to download a free trial version of WinRAR, which has the capability to uncompress .rar and .zip files.
1.16 MB Click to Download
Download Code Files for Chapter 2 36.06 KB Click to Download
Download Code Files for Chapter 3 53.70 KB Click to Download
Download Code Files for Chapter 4 39.82 KB Click to Download
Download Code Files for Chapter 5 302.68 KB Click to Download
Download Code Files for Chapter 6 145.96 KB Click to Download
Download Code Files for Chapter 7 26.51 KB Click to Download
Download Code Files for Chapter 8 205.91 KB Click to Download
Download Code Files for Chapter 9 128.20 KB Click to Download
Download Code Files for Chapter 10 52.87 KB Click to Download
Download Code Files for Chapter 11 199.40 KB Click to Download
See More

Errata

Do you think you've discovered an error in this book? Please check the list of errata below to see if we've already addressed the error. If not, please submit the error via our Errata Form. We will attempt to verify your error; if you're right, we will post a correction below.

ChapterPageDetailsDatePrint Run
1 8 Error in Text
For "The CLR Security Model":

"that what"

should be:

"than what"
10/17/2007
See More

Related Titles

Back to Top