SQL-Server中的数组(存储过程) [英] Array in SQL-Server (stored Procedure)
本文介绍了SQL-Server中的数组(存储过程)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨...
1.如何使用存储过程将值输入到数组中。
2.如何在存储过程中在运行时分配值数组格式
谢谢提前。
Hi...
1.How to get values in to array using stored procedure.
2.How to assign a value array format at runtime in stored procedure
Thanks Advance.
推荐答案
使用表值如下所示的参数
Hi,
Use Table-Valued Parameters like as Follows
DECLARE @Test TABLE(ID INT)
检查链接....
使用表格的SQL Server 2008中的数组和列表 - 有价值的参数 [ ^ ]
问候,
GVPrabu
Check the links....
Arrays and Lists in SQL Server 2008 Using Table-Valued Parameters[^]
Regards,
GVPrabu
这篇关于SQL-Server中的数组(存储过程)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文