Return-Path: <ml-errors@fatcity.com>
Received: from ensim.rackshack.net (root@localhost)
 by orafaq.net (8.11.6/8.11.6) with ESMTP id h9AI9xQ21436
 for <oracle-l@orafaq.net>; Fri, 10 Oct 2003 13:09:59 -0500
X-ClientAddr: 66.27.56.213
Received: from www2.fatcity.com (rrcs-west-66-27-56-213.biz.rr.com [66.27.56.213])
 by ensim.rackshack.net (8.11.6/8.11.6) with ESMTP id h9AI9nc21416
 for <oracle-l@orafaq.net>; Fri, 10 Oct 2003 13:09:56 -0500
Received: (from root@localhost)
 by www2.fatcity.com (8.11.6/8.11.6) id h9AFQ6L10953
 for oracle-l@orafaq.net; Fri, 10 Oct 2003 08:26:06 -0700
Received: by fatcity.com (05-Jun-2003/v1.0g-b73/bab) via fatcity.com id 005D2B6C; Fri, 10 Oct 2003 08:24:25 -0800
Message-ID: <F001.005D2B6C.20031010082425@fatcity.com>
Date: Fri, 10 Oct 2003 08:24:25 -0800
To: Multiple recipients of list ORACLE-L <ORACLE-L@fatcity.com>
X-Comment: Oracle RDBMS Community Forum
X-Sender: "Bob Metelsky" <bmetelsky@cps92.com>
Sender: ml-errors@fatcity.com
Reply-To: ORACLE-L@fatcity.com
Errors-To: ML-ERRORS@fatcity.com
From: "Bob Metelsky" <bmetelsky@cps92.com>
Subject: question about less than values in a range partition
Organization: Fat City Network Services, San Diego, California
X-ListServer: v1.0g, build 73; ListGuru (c) 1996-2003 Bruce A. Bergman
Precedence: bulk
Mime-Version: 1.0
Content-Type: text/plain;	charset="us-ascii"
Content-Transfer-Encoding: 8bit

Good morning all

Im experimenting with partitioning a table and do not understand the
concept of the less than value

Say I have a end_date date field

01-JAN-00
01-JAN-01
01-JAN-02

and I create a range partition

(PARTITION SO00Q1 VALUES LESS THAN (TO_DATE('01-JAN-2000',
'DD-MON-YYYY')),
PARTITION SO01Q1 VALUES LESS THAN (TO_DATE('01-JAN-2001',
'DD-MON-YYYY')),
PARTITION SO02Q1 VALUES LESS THAN (TO_DATE('01-JAN-2002',
'DD-MON-YYYY'))...

My mind is thinking

SO00Q1 will have the desired < jan 2000
But SO01Q1 would have < jan 2001 and since the first partition is less
than 2000 
It would include what is in partition 1 

And partition 2 would have 1 and 0

Between would make more sence to me

How does the less than N work?

Thanks!
bob



Bob Metelsky Oracle Certified Professional 
Phone 203-245-5089 ext113 Office 203-245-5000
Continuum Performance Systems Inc http://www.cps92.com
PGP Key http://cps92.com/cps109.gpg

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Bob Metelsky
  INET: bmetelsky@cps92.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@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).

