Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: IN clause with more than 999 elements

Re: IN clause with more than 999 elements

From: Pete Finnigan <pete_at_petefinnigan.com>
Date: Wed, 17 Sep 2003 10:22:01 +0100
Message-ID: <ZFh6rYB5eCa$Ew2M@peterfinnigan.demon.co.uk>


Hi Federica

Put the >999 elements into a table and change to a sub select

select * from table where field in (select field from listtable);

hth

Kind regards

Pete

-- 
Pete Finnigan
email:pete_at_petefinnigan.com
Web site: http://www.petefinnigan.com - Oracle security audit specialists
Book:Oracle security step-by-step Guide - see http://store.sans.org for details.
Received on Wed Sep 17 2003 - 04:22:01 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US