最近になってデータベースを使い始めた人や,「SQL Server 2005」の新機能をチェックしている人にとって,共通言語ランタイム(CLR)とSQL Server 2005の関係は,ちょっとした謎に感じられることだろう。今回はデータベース技術者が知っておくべきCLRとSQL Serverの関わり合いに関する事実を紹介する。
Recently I encountered a problem in a stored procedure that was caused by an unexpected result from the SQL Server ISNUMERIC() function. I was using SQL Server 2008 R2 but the issue has long been ...
DECLARE @server NVARCHAR(255) = '.' DECLARE @query NVARCHAR(MAX) = 'SELECT * FROM Win32_Processor' DECLARE @headers NVARCHAR(MAX) DECLARE @results XML SET @results ...
もうすぐ改元ですね、改元対応の計画を立ててみえると思います。 大変なのは和暦判断です。 Windowsの和暦レジストリから、一覧取得するクラスを使ってDB側で和暦置換する仕組みを公開します。 今回使用するのはSQL CLRの仕組みです。 ※参考:SQL CLRの使い ...
This is demo code how messages can be sent from Microsoft SQL Server (2005+) to a RabbitMQ message broker. The way it is implemented is by using SQLCLR, .NET running inside the SQL Server engine ...
T-SQL is great for database code, but writing procedural code in T-SQL has always been difficult. Invariably, your project includes a stored procedure or two, requiring some text parsing or complex ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する