I know that there is a limit of 1000 items in the SQL IN clause.
Currently, I am using a comma separated string of items in "IN
" clause of a select query and I want to change it.
So, I found this, which states to use either JOIN
or pass a query inside IN
itself.
Which one should be preferred choice ?
EDIT (Another Question):
What is the difference in passing query in "IN
" clause and passing comma separated parameters in "IN
" clause ?