简体   繁体   English

如何使用VS2010和SQL Server 2005创建.net dll存储过程?

[英]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? 有没有人提供有关如何在VS2010中首先制作适用于SQL Server 2005的.net dll解决方案的教程?

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: 查看:

or the site dedicated to the SQL CLR: 或专用于SQL CLR的站点:

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). 对于这些项目,由于SQL Server 2005(以及2008和2008 R2)仅包含CLR 2.0,因此您需要小心使用CLR 2.0(或.NET 2.0 / 3.0 / 3.5 / 3.5 SP1)作为目标CLR。没有更新-不适用于.NET 4 / CLR 4.0)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM