My Oracle Support Banner

How To Workaround ORA-01795: maximum number of expressions in a list is 1000 (Doc ID 406321.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 8.1.7.0 to 12.2.0.1 [Release 8.1.7 to 12.2]
Information in this document applies to any platform.
***Checked for relevance on 18-Apr-2016***

Goal

Select statement fails when specifying more than 1000 expressions within the 'IN' operator's list:
ORA-01795: maximum number of expressions in a list is 1000

How to workaround this limitation?

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.