What you could do is pass the list of comma seperated values into the SP via a 
VARCHAR datatype then move those values into a Table datatype - you could then 
just use a standard IN clause on those values (as a sub select) rather than 
using a cursor or some other dirty SQL loop.

Let me know if you want more info on perfoming the list to table function.

N

----------------------------------------------
This mail sent through http://www.ukonline.net

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:6:2343
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/6
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:6
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.6
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to