Search notes:

ORA-01873: the leading precision of the interval is too small

The first of the following two statements returns an interval of 24855 days, 3 hours, 14 minutes and 7 seconds.
The second statement throws ORA-01873: the leading precision of the interval is too small.
select numtodsinterval(power(2, 31) - 1, 'second') as interval from dual;
select numtodsinterval(power(2, 31)    , 'second') as interval from dual;
Similar with the following two statements:
select (interval '0 06:54:15' day(9) to second(3)) * 86400 from dual;
select (interval '0 06:54:16' day(9) to second(3)) * 86400 from dual;

See also

This stackoverflow answer was helpful for me.
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...', 1759474107, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #3 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/errors/ORA-01873_the-leading-precision-of-the-interval-is-too-small(49): insert_webrequest() #4 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 51