Home Forums SQL Server 2005 Development Arrays in Stroed Prcoedure RE: Arrays in Stroed Prcoedure
Goldie Lesser
SSCertifiable
Points: 6155
More actions
November 11, 2008 at 5:48 pm
#897239
You have two options.
The first is to construct your query using dynamic SQL.
The second option is to convert the array to a table and then JOIN to that table.
The following article explains how to split an array into a table:
http://www.sqlservercentral.com/articles/TSQL/62867/