1

If I write a query like

select * from some_table where some_field in (1, 2, 3 ...)

then how long can this list be for query to be successfully executed?

Demarsch
  • 1,350
  • 18
  • 36

2 Answers2

2

Quoted from

Oracle® Database SQL Language Reference
11g Release 2 (11.2)
Part Number E26088-01

"You can specify up to 1000 expressions in expression_list."

Juha Laiho
  • 596
  • 2
  • 8
1

Does this question help?

Looks like it may be limited to 1000 items in the IN clause but you can get around that by sub querying. Be careful with a large number of items in the IN clause as it could affect performance.

Community
  • 1
  • 1
Phil Murray
  • 6,234
  • 8
  • 42
  • 90