My program lets people pick items from a list to help run a query. To return the minimum amount of data, I've had to use the IN clause.
I'm pretty sure there's a limit to how many items I can put in the IN clause of one SELECT statement, but I don't know exactly what the limit is. For my case, I need to know the limit for SQL server 2000 and SQL server 2008.
Thanks!