Search notes:

ORA-14761: MAXVALUE [sub]partition cannot be specified for INTERVAL [sub]partitioned objects.

The following create table statement raises ORA-14761: MAXVALUE [sub]partition cannot be specified for INTERVAL [sub]partitioned objects.:
create table tq84_ora_14761 (
    dt    date,
    val   number
)
partition by range (dt) interval (numtoyminterval(1, 'year')) (
   partition lt_2021    values less than (date '2021-01-01'),
   partition lt_2022    values less than (date '2022-01-01'),
   partition lt_2023    values less than (date '2023-01-01'),
   partition lt_2024    values less than (date '2024-01-01'),
   partition lt_2025    values less than (date '2025-01-01'),
   partition lt_2026    values less than (date '2026-01-01'),
   partition the_end    values less than (maxvalue         )
);
This statement does not use the maxvalue keyword, the error is not raised:
create table tq84_ora_no_14761 (
    dt    date,
    val   number
)
partition by range (dt) interval (numtoyminterval(1, 'year')) (
   partition lt_2021    values less than (date '2021-01-01'),
   partition lt_2022    values less than (date '2022-01-01'),
   partition lt_2023    values less than (date '2023-01-01'),
   partition lt_2024    values less than (date '2024-01-01'),
   partition lt_2025    values less than (date '2025-01-01'),
   partition lt_2026    values less than (date '2026-01-01'),
   partition the_end    values less than (date '9999-12-31')
);

See also

Interval partitioned tables
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...', 1759473920, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/errors/ORA-14761_MAXVALUE-sub-partition-cannot-be-specfied-for-INTERVAL_sub-partitioned-objects(68): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78