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-06502: PL/SQL: numeric or value error: number precision too large
Other Oracle error messages

Index