将表值参数传递给存储过程 [英] Passing a Table Valued parameter to a stored procedure

查看:91
本文介绍了将表值参数传递给存储过程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以下是示例如何使用SQL Server 2008存储过程中使用.NET的表值参数。



下面是 CF9中的参数类型



问:ColdFusion是否可以将表值参数传递给Microsoft SQL Server 2008存储过程?


b 如果您需要传递信息表,可能最好的办法是使用XML数据类型。



代码示例此处


Here's an example of how to use table-valued parameters in a SQL Server 2008 stored procedure using .NET.

And here's the list of parameter types in CF9.

Q: Is it possible for ColdFusion to pass a table-valued parameter to a Microsoft SQL Server 2008 stored procedure?

解决方案

Not sure.

If you need to pass a table of information, probably your best bet is to use the XML data type.

Code sample here.

这篇关于将表值参数传递给存储过程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆