Skip to Main Content

SQL & PL/SQL

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!

Unable to add partition to a existing table.

Mahendran-OracleFeb 27 2014 — edited Feb 27 2014

Hi,

I am unable to add partition to a existing unpartitioned table, getting error as invalid data type and i am not finding any syntax errors.

ALTER TABLE MESSAGEX_XCHANGE

ADD PARTITION BY RANGE(LAST_MODIFY_TIMESTAMP)

(

PARTITION old_data VALUES LESS THAN(To_TIMESTAMP('27/02/2014','DD/MM/YYYY')),

PARTITION new_data VALUES LESS THAN(To_TIMESTAMP('28/02/2014','DD/MM/YYYY'))

);

Error report:

SQL Error: ORA-00902: invalid datatype

  1. 00000 -  "invalid datatype"

*Cause:   

*Action:

Thanks,

Mahendran..

This post has been answered by Boneist on Feb 27 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 27 2014
Added on Feb 27 2014
6 comments
2,110 views