Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Creating List-Partitioned Tables
Hi Morgan,
I tried it but I get
SQL> @test2.sql
PARTITION BY RANGE (TO_CHAR(billingdate,'ww'))
*
Any other ideas?
--Matteo
DA Morgan <damorgan_at_x.washington.edu> wrote in news:41e8924e$1_2_at_127.0.0.1:
> Matteo D'Amato wrote:
>
>> Hi, >> I'm trying to created a table with list partitioning. The >> idea is to >> have a 9 week rotation, hence w1..w9. So I thought I would convert >> billingdate to week of year. Oracle 10g complains about "PARTITION BY >> LIST ( to_char(billingdate,'WW') )". Do I need to use range instead? >> Can I do partition where values equal a week of year number? Thanks
![]() |
![]() |