Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Passing an array to a stored procedure

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-02-24 : 21:41:56
John writes "Is it possible to pass an array to a stored procedure and loop through the array within the stored proc to build dynamic select statement? Using SQL 2000, thanks."

graz
Chief SQLTeam Crack Dealer

4149 Posts

Posted - 2002-02-24 : 21:41:56
The best way I know is to pass a CSV string. We have a few articles on that: http://www.sqlteam.com/SearchResults.asp?SearchTerms=csv
Go to Top of Page
   

- Advertisement -