Articles

Current Articles | Categories | Search | Syndication

Vote For It - Server Side Compiles in SQL CLR
By Jonathan Kehayias @ 6:47 PM :: 158 Views :: 0 Comments

Greg Low a SQL Server MVP, has submitted a very compelling Connect item 265266, Add server-side compilation ability to SQL CLR which aims to remove the requirement to develop SQLCLR assemblies external to SQL Server.  Read about this suggestion here, and vote for it by visiting the Connect site to let Microsoft know you think it is important.

Read More..
Using CLR Impersonation to Access Resources Outside of SQL Server
By Jonathan Kehayias @ 6:35 PM :: 500 Views :: 0 Comments

Traditionally if you had a need to access a file or other resource outside of SQL Server, the SQL Server service account was required to have appropriate file system access to the folder or path containing the file.  With CLR integration, this is no longer an absolute requirement.  Identity Impersonation will allow you to implicitly or explicitly change the execution context inside of a SQLCLR Function, Procedure, or Trigger. 

Read More..
Using an Application Configuration (app.config/web.config) File in SQL Server CLR Integration
By Jonathan Kehayias @ 12:43 PM :: 878 Views :: 0 Comments

A common part of programming in .NET is to use an configuration file to store configuration information in an easily modifiable location.  The app.config or web.config file is an invaluable inclusion in most .NET projects and developers may need to maintain this functionality as a part of logic sharing between objects in the database and the application as well.  This article will demonstrate how to configure your SQLCLR project to use Configuration Files in SQL.

Read More..
Building a SAFE HttpUtility Class for SQL CLR
By Jonathan Kehayias @ 7:05 PM :: 294 Views :: 0 Comments

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.

Read More..
Using CLR User Defined Types in SQL Server - Part 3 - Altering an Existing UDT
By Jonathan Kehayias @ 8:51 PM :: 210 Views :: 0 Comments

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.

Read More..
Previous Page | Next Page

Survey

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




Submit Survey  View Results

Links


Copyright 2007 by SQLCLR.net Terms Of Use Privacy Statement
Website graphics provided by Matt Green Designs
Page generated in 0.2812446 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.