Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: IN clause with more than 999 elements
Richard Kuhler <noone_at_nowhere.com> wrote:
>laSerpe wrote:
>> How can I solve problem which Oracle IN-clause doesn't work with more than
>> 999 elements?
>> for example:
>> I want execute a query like:
>> SELECT * FROM TABLE WHERE FIELD IN (VALUE1,...VALUEn) with n>=1000
>> thank you, federica
>
>Of course there's always ...
>
>FIELD IN (VALUE1, ... VALUE1000)
>OR FIELD IN (VALUE1001, ... VALUE2000)
>etc...
>
>
>Richard Kuhler
Depending on the number of records and other fields, that combination of OR and IN could still be running when the Heat Death Of The Universe happens... ;-) Received on Thu Sep 18 2003 - 09:22:43 CDT
![]() |
![]() |