Sign in
SQL Server 2005: CLR Integration
Samples, tips and tricks, insights from the CLR Integration team at SQL Server.
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
Pages
Archive
Archives
November 2006
(1)
October 2006
(1)
July 2006
(2)
June 2006
(8)
April 2006
(2)
March 2006
(3)
February 2006
(2)
November 2005
(3)
October 2005
(2)
July 2005
(1)
June 2005
(3)
May 2005
(4)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
SQL Server 2005: CLR Integration
Overview of T-SQL and CLR debugging in SQL Server 2005
Posted
over 7 years ago
by
sqlclr
15
Comments
SQL Server 2005 ships with a new debugging engine that supports debugging of any T-SQL and CLR code running in the server, including batches, stored procedures, user defined functions/aggregates/triggers, etc. You can use Visual Studio 2005 to debug against...
SQL Server 2005: CLR Integration
Exception handling in SQLCLR
Posted
over 7 years ago
by
sqlclr
2
Comments
Naveen covered the TSQL exception handling in his posts on sqlprogrammability blog site. How does the TSQL exception handling mechanism interacts with SQLCLR exception handling mechanism? We will cover this topic in this post. When SQL server execute...
SQL Server 2005: CLR Integration
Impersonation in SQL CLR
Posted
over 7 years ago
by
sqlclr
5
Comments
When the user code will try to access a resource outside of the SQL server it will run in the security context under which SQL Server is running. But this is not the ideal situation since it could become a security issue when the logged user that calls...
SQL Server 2005: CLR Integration
Strong named assemblies and AllowPartiallyTrustedCallers
Posted
over 7 years ago
by
sqlclr
1
Comments
Very often, you may wish to factor out your code into separate assemblies in your application. For example, you separate your type in one assembly because it gets used by multiple areas in your application. And you save your proc that uses that type in...
SQL Server 2005: CLR Integration
Creating a CLR user define aggregate (part 2). Use multiple columns in the aggregation function
Posted
over 7 years ago
by
sqlclr
1
Comments
In part 1 we created a nice user defined aggregate. Now we are going to make it more sophisticated and let its value depend on two parameters ShipCountry and ShipShipCity. You might try having two parameters in Accumulate function of the aggregate but...
SQL Server 2005: CLR Integration
Creating a CLR user define aggregate (part 1). Simple CLR aggregate
Posted
over 7 years ago
by
sqlclr
7
Comments
SQL Server 2005 allows creating of User Defined Aggregate in any of the .NET languages such as C# or VB. For simple cases like SUM or MAX you probably want to use built-in aggregates, however there are cases where build-ins are insufficient. In such cases...
SQL Server 2005: CLR Integration
Satellite assemblies in SQL Server 2005
Posted
over 7 years ago
by
sqlclr
1
Comments
This is a sample on how to register satellite assemblies in SQL Server 2005. Based on the CultureInfo on the executing thread, CLR will try to load the respective resource assembly. It should not be a difference between satellite assemblies inside...
SQL Server 2005: CLR Integration
Assembly redirection and CLR Integration
Posted
over 7 years ago
by
sqlclr
5
Comments
Assembly redirection is not supported in SQL CLR. Assembly redirection can be done using publisher, application configuration and machine configuration files. SQL Server 2005 uses application configuration to redirect assembly call after Alter Assembly...
Page 1 of 1 (8 items)