-- Collection of code snippets by Arne Vajhøj 
-- created to try various things (2003-now) 
EXEC sp_configure @configname = 'clr enabled', @configvalue = 1 RECONFIGURE WITH OVERRIDE
GO
CREATE ASSEMBLY DemoSP FROM 'C:\DemoSP.dll' WITH PERMISSION_SET = SAFE
GO
CREATE PROCEDURE ShowT1
AS
EXTERNAL NAME DemoSP.[E.DemoSP].ShowT1
GO
EXEC ShowT1
GO
DROP PROCEDURE ShowT1
GO
DROP ASSEMBLY DemoSP
GO
