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!

ORA-12986 ORA-00955 error after table set column as unused !

orasiyaMar 13 2021 — edited Mar 15 2021

Dear firends,
I received the following erros, when accessing the table after table column drop !

ORA-12986: columns in partially dropped state. Submit the it ALTER TABLE DROP COLUMNS CONTINUE
ORA-00955: name is already used by an existing object
our database version is 18c (Exadata 7)
none of the following commands soloved our problems,
ALTER TABLE myTable DROP COLUMNS CONTINUE
ORA-12986: columns in partially dropped state. Submit ALTER TABLE DROP COLUMNS CONTINUE

ALTER TABLE myTable DROP COLUMNS continue CHECKPOINT 250;
ORA-00955: name is already used by an existing object
any idea?

regards

This post has been answered by EdStevens on Mar 13 2021
Jump to Answer

Comments

EdStevens
Answer

It would help if we saw the actual, exact statement that produced the original error . . .

Marked as Answer by orasiya · Mar 13 2021
orasiya

alter table my_Table set unused (col1);

orasiya

ORA-12986 error after table column set as unused
alter table my_Table set unused (col1);

DB release 18c
table size 15GB

any idea for error ora-12986 ? is it a bug !
regards

Jonathan Lewis

You need to remember exactly the sequence of events that resulted in this error.
If you got ORA-12986 when you first attempted to set a column unused this means someone else had already done something to drop a column and had interrupted the process part way through.
IF you can discover the exact history that's got you into the current position we may be able to help you.

=======

To investigate your current state, you should enable SQL tracing, and look in detail at the trace file for the first appearance of the error, this may tell you why you're getting the error you're getting.
There's a note I wrote about a SIMILAR problem here: https://jonathanlewis.wordpress.com/2020/08/31/tracing-errors/ that demonstrates the approach.
NOTE: this is NOT the problem you are describing even though the topic is about dropping columns.

Regards
Jonathan Lewis

1 - 4

Post Details

Added on Mar 13 2021
4 comments
270 views