Search notes:

ORA-12899: value too large for column … (actual: …, maximum: …)

The Oracle error ORA-12899: value too large for column… is thrown when trying to insert a text (varchar2) value whose length is longer than the specified column-length in a table, see Inserting values that are too large for the column definition.

CREATE TABLE statements

ORA-12899 can also be thrown by a create table statement:
create table tq84_ora_12899 (
    val             varchar2(20),
    val_replaced    varchar2(4)  as (substr(val, 1, 5))
);

See also

The corresponding error message for numerical values is ORA-01438: value larger than specified precision allowed for this column
ORA-01401: inserted value too large for column
ORA-06502: PL/SQL: numeric or value error: number precision too large
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-12899_value-too-large-for-column(54): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78