Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

ORA-02530: parent table not specified

3290810May 27 2017 — edited Jun 14 2017

hi,please help me.when i create a sharded table ,it is always tell me "ORA-02530: parent table not specified',why i need to specify a parent table?

the error message is below:

SQL> CREATE SHARDED TABLE customers

  2  (id NUMBER

  3  , name VARCHAR2(50)

  4  , address VARCHAR2(250)

  5  , region VARCHAR2(20)

  6  , class VARCHAR2(3)

  7  , signup DATE i

  8  ,CONSTRAINT cust_pk PRIMARY KEY   (id))

  9  PARTITION BY CONSISTENT HASH(id) PARTITIONS AUTO

10  TABLESPACE SET TSP_SET_1

11  ;

, name VARCHAR2(50)

            *

ERROR at line 3:

ORA-02530: parent table not specified

can anyone to tell me how to resolve the problem ,or how can i create a shared table ?

This post has been answered by John Thorton on May 27 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 12 2017
Added on May 27 2017
4 comments
647 views