Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Table partitioning problem
Michel Cadot wrote:
> "Omi" <gg_at_chandiramani.org> a écrit dans le message de > news:e01d2feb.0404161604.5335c038_at_posting.google.com... >
[snip]
>>partition test_30 values (30),
>>partition test_31 values (31)
>>);
>>
>>I get syntax errors on the PARTITION BY RANGE line. It seems to expect
>>*only* a fieldname there.
>>
>>How do I create a table like this?
>>
>>Thanks,
>>Omi
> > > Use PARTITION BY LIST instead.
I wouldn't do that for two reasons: one, list partitioning is fairly new, whereas range partitioning isn't (bugs?). And two, list partitions cannot be hash sub-partitioned, whereas range partitions can. The OP may never need hash sub-partitioning, it is true.... but then again, he might. Range partitioning will do what he definitely needs to do, and gives him flexibility in the future should business requirements need it.
Regards
HJR
Received on Sat Apr 17 2004 - 02:23:55 CDT