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
GO

create function RegEx_IsMatch(@text nvarchar(MAX), @pattern nvarchar(MAX),@ignoreCase int)
    RETURNS BIT
    AS EXTERNAL NAME staticMethodFullnamespace

GO

posted @ 2012-02-10 16:29  Yu  阅读(157)  评论(0编辑  收藏  举报