[英]How to pass a SQL temp table to a C# stored procedure
What's the best way to pass a temp table to a C# stored procedure (SQL 2008)? 将临时表传递到C#存储过程(SQL 2008)的最佳方法是什么? Am I stuck passing the temp table name as text and running a select from C#?
我是否一直将临时表名称作为文本传递并从C#运行选择?
I was hoping to use Table Value Parameters, but they don't appear to be supported in C# sprocs. 我希望使用表值参数,但C#sprocs似乎不支持它们。
作为xml(也许nvarchar(max))是最好的选择,但我还没有尝试过。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.