How to make a .net dll stored procedure using VS2010 and SQL Server 2005?
Does anyone have a tutorial on how开发者_运维百科 to first make .net dll solution in VS2010 that will work for SQL Server 2005?
I heard they have a special solution but I am not sure which one it is. I am trying to write what I think they call an extended stored procedure.
Then a tutorial on how to actually right these extended stored procedures would be nice too.
Check out:
- SQL SERVER – Introduction to CLR – Simple Example of CLR Stored Procedure
- SQL CLR and using .NET assemblies in SQL Server (sample video)
or the site dedicated to the SQL CLR:
- Using CLR in SQL Server 2005/2008
For those projects, you need to be careful to use CLR 2.0 (or thus: .NET 2.0 / 3.0 / 3.5 / 3.5 SP1) as your target CLR, since SQL Server 2005 (and 2008 and 2008 R2) only contain the CLR 2.0 (nothing newer - won't work with .NET 4 / CLR 4.0).
精彩评论