Search notes:

ORA-01407: cannot update … to NULL

create table tq84_1407 (
    id    integer not null,
    val   number(7,2)
);

insert into tq84_1407 values (1, 42.9);
The following update statement throws ORA-01407: cannot update ("RENE"."TQ84_1407"."ID") to NULL:
update tq84_1407 set id = null where val > 40;

See also

not null constraints.
Other Oracle error messages (such as ORA-01400: cannot insert NULL into …)

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...', 1759421685, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/errors/ORA-01407_cannot-update_to-NULL(47): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78