Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2004
    Posts
    38

    Unanswered: error in partitioning

    I got an error from this code, could anyone tell me what's happened please?
    Code:
    SQL> CREATE TABLE sales
      2  (s_productid NUMBER,
      3  s_saledate DATE,
      4  s_custid NUMBER,
      5  s_totalprice NUMBER)
      6  PARTITION BY RANGE(s_saledate)
      7  (PARTITION sal99q1 VALUES LESS THAN TO_DATE('01-APR-1999', 'DD-MON-YYYY'),
      8  PARTITION sal99q2 VALUES LESS THAN TO_DATE('01-JUL-1999', 'DD-MON-YYYY'),
      9  PARTITION sal99q3 VALUES LESS THAN TO_DATE('01-OCT-1999', 'DD-MON-YYYY'),
     10  PARTITION sal99q4 VALUES LESS THAN TO_DATE('01-JAN-2000', 'DD-MON-YYYY'));
    (PARTITION sal99q1 VALUES LESS THAN TO_DATE('01-APR-1999', 'DD-MON-YYYY'),
                                        *
    ERROR at line 7:
    ORA-00906: missing left parenthesis

  2. #2
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •