且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在SQL Server 2005中插入值的数组?

更新时间:2022-05-19 01:29:36

我将列表构造为xml字符串,并将其传递给存储的proc。在SQL 2005中,它具有增强的xml功能,可以解析xml并进行批量插入。

I construct the list as an xml string and pass it to the stored procs. In SQL 2005, it has enhanced xml functionalities to parse the xml and do a bulk insert.

检查此信息:
将列表传递到SQL Server 2005 XML参数