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

Home -> Community -> Mailing Lists -> Oracle-L -> Deleting partitioned data

Deleting partitioned data

From: Jonathan Gennick <jonathan_at_gennick.com>
Date: Thu, 13 Nov 2003 16:34:25 -0800
Message-ID: <F001.005D6994.20031113163425@fatcity.com>


I'd like to ask a question. Consider the two statements below:

DELETE
FROM county PARTITION (michigan)
WHERE county_name = 'Alger';

DELETE
FROM county
WHERE county_name = 'Alger'
  AND state = 'MI';

Is there ever a case where the first option is preferable? Is there ever a case where Oracle wouldn't be able to isolate the partition of interest simply by evaluating the conditions in the WHERE clause? There must be, else why would Oracle provide the syntax shown in the first statement? However, I'm having difficulty coming up with a good example of when that syntax makes sense. Can someone help me out here?

Best regards,

Jonathan Gennick --- Brighten the corner where you are http://Gennick.com * 906.387.1698 * mailto:jonathan@gennick.com

Join the Oracle-article list and receive one article on Oracle technologies per month by email. To join, visit http://four.pairlist.net/mailman/listinfo/oracle-article, or send email to Oracle-article-request_at_gennick.com and include the word "subscribe" in either the subject or body.

--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Jonathan Gennick
  INET: jonathan_at_gennick.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Thu Nov 13 2003 - 18:34:25 CST

Original text of this message

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