【发布时间】:2010-12-30 08:49:22
【问题描述】:
我在 SQL Server 2008 中有表值参数,例如:
CREATE TYPE UserType AS TABLE
(
UserID int,
UserName nvarchar(100),
UserPassword nvarchar(100)
)
我可以在我的 SQL CLR 存储过程中以某种方式使用这种类型吗?比如作为输入参数?
[SqlProcedure]
public static void SomeFunction (/* what type should be here ?? */)
{
//
}
【问题讨论】:
-
在 MSDN 的论坛上here 提出了同样的问题。同样的答案也出来了。 ://
标签: c# sql sql-server-2008 sqlclr