SQL SERVER 2005 外部程序集运用
sp_configure 'clr enabled', 1 /*0:close 1:open*/
RECONFIGURE WITH OVERRIDE
GO
CREATE ASSEMBLY name
from dllFullname
WITH PERMISSION_SET = SAFE
GOcreate function RegEx_IsMatch(@text nvarchar(MAX), @pattern nvarchar(MAX),@ignoreCase int)
RETURNS BIT
AS EXTERNAL NAME staticMethodFullnamespaceGO