表值参数 [英] Table Valued Parameter

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

问题描述

亲爱的人..



是否可以将带有16列的DataTable传递给存储过程作为表值参数..

< br $>
谢谢和问候

Kanag.M

Dear Folks..

Is it possible to pass DataTable with 16 column to Stored Procedure as Table Valued Parameter..

Thanks & Regards
Kanag.M

推荐答案

是。

。< a href =http://msdn.microsoft.com/en-us/library/bb510489.aspx> http://msdn.microsoft.com/en-us/library/bb510489.aspx [< a href =http://msdn.microsoft.com/en-us/library/bb510489.aspxtarget =_ blanktitle =New Window> ^ ]

http://www.sommarskog.se/share_data.html [ ^ ]



您还可以传递XML并转换为到proc中的表格。

http:// msdn.microsoft.com/en-us/library/ms345117(SQL.90).aspx [ ^ ]
Yes.
.http://msdn.microsoft.com/en-us/library/bb510489.aspx[^]
http://www.sommarskog.se/share_data.html[^]

You could also pass an XML and convert that to a table inside the proc.
http://msdn.microsoft.com/en-us/library/ms345117(SQL.90).aspx[^]


从我们的CP门户网站阅读此QA会话



将数据表参数传递给存储过程 [ ^ ]





希望这有帮助

--RDBurmon
Read this Q-A session from our CP portal

Passing Datatable Parameter to Stored Procedure[^]


Hope this helps
--RDBurmon


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

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