Sign in
SQL Programmability & API Development Team Blog
All posts are AS IS, without any further guarantees or warranties.
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
About
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
Misc. Issues
Native Types and Methods
Pages
Procedure Cache
Sorting
SQL CLR Hosting
SQL Exception Handling
SQL Server 2000
SQL Server 2005
XML
Archive
Archives
June 2009
(1)
May 2009
(1)
April 2009
(1)
March 2009
(1)
February 2009
(1)
January 2009
(1)
November 2008
(1)
October 2008
(1)
August 2008
(1)
July 2008
(1)
June 2008
(1)
May 2008
(1)
March 2008
(3)
February 2008
(1)
June 2007
(2)
April 2007
(1)
March 2007
(1)
February 2007
(2)
January 2007
(18)
December 2006
(1)
November 2006
(1)
October 2006
(1)
September 2006
(1)
August 2006
(1)
July 2006
(2)
June 2006
(10)
May 2006
(8)
April 2006
(18)
March 2006
(4)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
SQL Programmability & API Development Team Blog
TSQL Basics II - Parameter Passing Semantics
Posted
over 7 years ago
by
adamp
3
Comments
TSQL uses a copy-in/copy-out semantics to pass parameters to stored procedures and functions. This is a different semantics then the usual by-value or by-reference parameter passing semantics supported by most languages. What does this mean? When a...
SQL Programmability & API Development Team Blog
T-SQL text hashing in SQL Servers 2000 and 2005
Posted
over 7 years ago
by
adbirka
0
Comments
Recently several users of SQL Server ran into interesting issues related to hashing of T-SQL text by SQL Server for caching purposes. This blog post will describe how SQL Server performs this hashing, and the differences in behavior between 2000 and 2005...
SQL Programmability & API Development Team Blog
Three significant Cursor changes in SQL Server 2005
Posted
over 7 years ago
by
RaviR
5
Comments
Many ISV applications use ODBC API Server Cursors. One source of developer confusion when coding and debugging API Server Cursors against previous versions of SQL Server (6.5, 7.0, & 2000) was Implicit Cursor Conversions, also known as cursor degradation...
SQL Programmability & API Development Team Blog
Introducing Multiple Active Result Sets (MARS) (2)
Posted
over 7 years ago
by
pingwang
2
Comments
MARS is a powerful tool, but you may shoot yourself by the foot if you don't use it correctly. In the following several talks, I will talk about how to use MARS safely. This talk will cover the session/request context management. In later talks, I will...
SQL Programmability & API Development Team Blog
Diagnosing CLR Execution in SQL Server
Posted
over 7 years ago
by
RaviR
2
Comments
In this section, i am going to introduce some basic diagnostic tools. You may already be familiar with Dynamic Management Views. We modified a few existing DMVs and added a few new ones to help with some transparency to the execution of sqlclr code in...
SQL Programmability & API Development Team Blog
Impersonation in SQL CLR
Posted
over 7 years ago
by
sqlclr
1
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 Programmability & API Development Team Blog
Creating a CLR user define aggregate (part 2). Use multiple columns in the aggregation function
Posted
over 7 years ago
by
nikitas
1
Comments
I 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 Programmability & API Development Team Blog
Creating a CLR user define aggregate (part 1). Simple CLR aggregate
Posted
over 7 years ago
by
nikitas
0
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 Programmability & API Development Team Blog
Assembly redirection and CLR Integration
Posted
over 7 years ago
by
sqlclr
1
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...
SQL Programmability & API Development Team Blog
Satellite assemblies in SQL Server 2005
Posted
over 7 years ago
by
sqlclr
0
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...
Page 1 of 1 (10 items)