problem with IN clause in SQL

Posted by user179056 on Stack Overflow See other posts from Stack Overflow or by user179056
Published on 2010-04-15T14:00:09Z Indexed on 2010/04/15 14:23 UTC
Read the original article Hit count: 156

Filed under:
|

Hello, We have observed that there seems to be a maximum number of ids/variables which one can pass in the IN clause of SQL as comma seperated values. To avoid this we are storing all the ids in a table and doing a SELECT within the IN clause. This however means extra database operations to store and retrieve ids. Is there any other way to use IN without SELECT? regards Sameer

© Stack Overflow or respective owner

Related posts about sql

Related posts about in