Search notes:

ORA-02429: cannot drop index used for enforcement of unique/primary key

create table tq84_p (
    id   integer,
    txt  varchar2(10),
    constraint tq84_p_pk primary key (id)
);
 
create table tq84_c (
    id_p   integer,
    val    number(5,2),
    constraint tq84_c_fk foreign key (id_p) references tq84_p
);
 
drop index tq84_p_pk;
-- ORA-02429: cannot drop index used for enforcement of unique/primary key
 
alter table tq84_p disable primary key cascade;
 
drop index tq84_p_pk;
-- ORA-01418: specified index does not exist
 
drop table tq84_c;
drop table tq84_p;

See also

Referential integrity: primary and foreign keys.
Other Oracle error messages

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1759421587, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/errors/ORA-02429_cannot-drop-index-used-for-enforcement-of-unique-primary-key(59): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78