Is there any limitation in SQL server IN clause?
-
Tuesday, October 28, 2008 5:14 AM
I know there is limitation in ORACLE database IN clause, only 1000 expression supported.
Select * from TABLE where ID in (1,2,...1000)
Is there any limitation in SQL server IN clause?
Answers
-
Tuesday, October 28, 2008 12:44 PM
There is no limitation in SQL Server w.r.t in caluse. you can give n number of values
All Replies
-
Tuesday, October 28, 2008 12:44 PM
There is no limitation in SQL Server w.r.t in caluse. you can give n number of values -
Wednesday, April 06, 2011 7:20 AMI dont know limitation number but i had problem yesterday with in clause.Same query work with little then subquery data. But not return resultset with big subquery data. In same query i changed IN CLAUSE to EXISTS and my problem solved.I'll never use IN clause with big subquery data.

