What's New

 Subscribe in a reader

Building a SAFE HttpUtility Class for SQL CLR by Jonathan Kehayias

This Article covers how to build a SQL Safe version of the System.Web.HttpUtility class methods HtmlEncode and HtmlDecode.  Source code is provided in the Examples area for these specific methods to be used in SQL CLR as User-Defined Functions with a SAFE Permission Set.

Using CLR User Defined Types in SQL Server - Part 3 - Altering an Existing UDT by Jonathan Kehayias

No matter how hard you try at some point it might become necessary for you to add a method to an existing CLR User-Defined Type to support a new business rule, or if created a single assembly with all of your objects including your CLR UDT, you may need to modify an existing function or stored procedure to meet new requirements.  This article will demonstrate how to use ALTER ASSEMBLY to perform these updates.

XML Transformation with User-defined CLR Function, C#, and XSLT - Part 1 by Reuben Shaffer

This article is part one of a two part series to try and show some of the versatility that CLR provides us. Part one will focus on creating a user-defined CLR function to use a XSLT file to transform a XML string and e-mail it using sp_send_dbMail.

Announcements

Contribute to this Site - Saturday, April 05, 2008

I have updated the Articles and Examples Modules on this site, and they now allow any registered user to login and create publications for display on this site.  For instructions about how to contribute to this site please see:

How to Contribute to SQLCLR.net

 
Help build this site - Thursday, April 03, 2008

If you have content that you think others would benefit from, or would be interested in helping gather content to make this site a success, please feel free to email me.

Since one of the goals of this site is to ecourage community contributions, all content contributions should include the authors name and a web url if applicable.

 

Survey

Which of the following CLR objects are you currently using in SQL Server?




 
You must sign in to vote in this survey.

Links


Copyright 2007 by SQLCLR.net Terms Of Use Privacy Statement
Website graphics provided by Matt Green Designs
Page generated in 2.4843273 seconds.

All information and example code on this site is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from its use.

This site is in no way affiliated with Microsoft. Unless specifically stated otherwise, nothing should be construed to represent the official positions or opinions of Microsoft and/or its Employees.