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 -> IDs in IN clause

IDs in IN clause

From: Robert Wehofer <thalion77_at_graffiti.net>
Date: Wed, 12 Jul 2006 11:16:28 +0200
Message-ID: <b9f10$44b4bd9f$d4badae4$15253@news.chello.at>


Hello!

Does anyone know, how many IDs are allowed in an Oracle IN clause (Oracle version = 9i)?

e.g: DELETE FROM Table WHERE ID IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16, ...)

What is the best way for me to delete amounts of distinct IDs? Is there a way without creating a temporary table to execute:

DELETE FROM Table WHERE ID IN (Select ID FROM TemporaryTable)

Regards,
Robert Received on Wed Jul 12 2006 - 04:16:28 CDT

Original text of this message

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