Table Partition

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rajanbabu23
    New Member
    • Jul 2007
    • 4

    Table Partition

    dear friends,

    If i insert a row into table SALES ...If created_dt , Jan or Feb or Mar ...it will store separate partition...I tried the below script ..it's was not working.,

    Script :

    CREATE TABLE sales
    ( prod_id NUMBER(6),
    create_dt DATE
    )
    PARTITION BY LIST (to_char(create _dt,'MON'))
    (PARTITION SALES_JAN VALUES ('JAN'),
    PARTITION SALES_FEB VALUES ('FEB'),
    PARTITION SALES_MAR VALUES ('MAR'),
    PARTITION REST VALUES (DEFAULT))
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    Since you have posted a question in the article section it is being moved to oracle forum


    MODERATOR.

    Comment

    Working...