Passing array as Parameter to SQL 2005 stored procedure

后端 未结 4 1542
时光取名叫无心
时光取名叫无心 2021-01-15 10:11

How to pass array as parameter to a Store Procedure in SQL Server 2005, i this is not possible SQL server 2000, so we pass comma separated values in past.

any help a

4条回答
  •  暖寄归人
    2021-01-15 10:42

    Instead of a CSV, you could send an XML and then parse it in the procedure. For an example, look at Passing lists to SQL Server 2005 with XML Parameters

提交回复
热议问题