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!

Issue with TIMESTAMP(0)

manojthakuriiMar 6 2022 — edited Mar 7 2022

The below are my specid and changedate column having timestamp(9) values

image.pngI have another table and I am trying to load the data from this table a to another table b. I am getting error

insert into spectable select specid,cast(changedate as timestamp(0)) from spec;
I am getting ORA-25137: Data value out of range error in oracle.
Is this because of the reason the oracle is not able to understand 6870000 and considering data out of range.
We are using Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Please appreciate your help
Regards,

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 4 2022
Added on Mar 6 2022
5 comments
493 views