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

Home -> Community -> Mailing Lists -> Oracle-L -> Spam:range partition issue

Spam:range partition issue

From: Harvinder Singh <Harvinder.Singh_at_MetraTech.com>
Date: Wed, 14 Nov 2007 15:37:25 -0500
Message-ID: <D6424CD4C8A3C044BBC49877ED51C51804E02AF7@ex2003.metratech.com>


Hi,  

I am creating range partitioning on 2 columns as following:  

CREATE TABLE test_part

(

Col1             NUMBER(10)                 NOT NULL,

Col2  NUMBER(10)                 NOT NULL

)

TABLESPACE tab_1

PARTITION BY RANGE (ID_USAGE_INTERVAL, ID_ACC) (

  PARTITION USAGE_1 VALUES LESS THAN (897515520, 1500000)     TABLESPACE tab_2,

  PARTITION USAGE_2 VALUES LESS THAN (897515520, 3500000)     TABLESPACE tab_3

)
 

insert into test_part values(897515520,1200000)

insert into test_part values(897515520,1600000)

commit  

select count(*) from test_part partition(usage_1)  

select count(*) from test_part partition(usage_2)  

I expect both the partitions usage1 and usage2 to have 1 row each but both the rows are going to usage1, What can be the possible issue?  

Thanks

--Harvinder  

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Nov 14 2007 - 14:37:25 CST

Original text of this message

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