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!

How to change precision after data is loaded ?

626351Apr 27 2009 — edited Apr 27 2009
I have a table with 4 columns defined as straight "NUMBER" but contain floating point values. I need to alter the table by defining a precision on the fields. The existing data should match the precision I am trying to alter the table to, but I am still getting the following error:

ORA-01440: column to be modified must be empty to decrease precision or scale

The syntax I used to alter the table was:

alter table rpf_cib_resolved modify("MIN_LAT" number(8,6));

I hope there is a trick or work around to modify the precision without having to truncate the table....

Vicki
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 25 2009
Added on Apr 27 2009
4 comments
1,642 views