Search notes:

ORA-12081: update operation not allowed on table ‥

create table tq84_x(a number);

begin
   insert into tq84_x values (1);
   insert into tq84_x values (2);
   insert into tq84_x values (3);
   commit
end;
/
Making the table read-only:
alter table tq84_x read only;
Each of the following statements throws ORA-12081: update operation not allowed on table "RENE"."TQ84_X":
insert into tq84_x values (-1);
delete from tq84_x where a > 10;
delete from tq84_x where a = 1;
update tq84_x set a = 5 where a = 3;
Enable DML again:
alter table tq84_x read write;
Cleaning up:
drop table tq84_x;

See also

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:51 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(51): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(66): id_of(Object(PDO), 'uri', '/notes/developm...') #2 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1758200329, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #3 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/errors/ORA-12081_update-operation-not-allowed-on-table-(62): insert_webrequest() #4 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 51