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

Home -> Community -> Usenet -> c.d.o.server -> Delete lots of record

Delete lots of record

From: Ben <lmcbema_at_lmc.ericsson.se>
Date: 30 Jan 2002 14:14:33 -0800
Message-ID: <adc715e7.0201301414.2c21bb7d@posting.google.com>


I need to optimize the sql request and I don't know how ??

DELETE
FROM product_test
WHERE type = 'a'
AND record_id IN (User_id_list)
AND product_id IN (RmvProductList)

the User_id_list cannot be over 500 users and the product list can be 1000 max but it's very long to execute... any idea ?!?

Thx
/Ben Received on Wed Jan 30 2002 - 16:14:33 CST

Original text of this message

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