如何在sql中声明一个表参数来传递数据表 [英] how to declare a table parameter in sql to pass the data table

查看:92
本文介绍了如何在sql中声明一个表参数来传递数据表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要将数据表传递给存储过程,为此,我需要知道如何在SP中声明表参数

I need to pass a data table to a stored procedure ,for that ,I need to know a how to declare table parameter in SP

推荐答案

以下链接会帮助你 -

将数据表传递给SQL Server 2008中的存储过程 [ ^ ]

表值参数 [ ^ ]

使用SQL Server的表值参数 [ ^ ]
The following links will help you -
Passing a datatable to a Stored Procedure in SQL Server 2008[^]
Table-Valued Parameters[^]
Using SQL Server’s Table Valued Parameters[^]


请参阅 MSDN [ ^ ]



-KR
See this MSDN[^]

-KR


这篇关于如何在sql中声明一个表参数来传递数据表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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