Question: I received the following error message:
ERROR ORA-12899: value too large for column
I am working with the following settings:
NLS_LANGUAGE = HEBREW
NLS_TERRITORY = ISRAEL
NLS_CHARACTERSET-AL32UTF8
NLS_NCHAR_CHARACTERSET -AL16UTF16
How do I resolve this error
ORA-12899: value too large for column?
Answer:
To diagnose any error, you start by using the
oerr utility to display the ORA-12899 error:
ORA-12899: value too large for column string (actual: string, maximum: string)
Cause: An attempt was made to insert or update a column with a value which is
too wide for the width of the destination column. The name of the column is
given, along with the actual width of the value, and the maximum allowed width
of the column. Note that widths are reported in characters if character length
semantics are in effect for the column, otherwise widths are reported in bytes.
Action: Examine the SQL statement for correctness. Check source and destination
column data types. Either make the destination column wider, or use a subset of
the source column (i.e. use substring).
Second, you should be aware that the full ORA-12899 message is needed in order
for you to get helpful feedback. According to Oracle, the ORA-12899 error
is reported in the following format:
ORA-12899: value too large for column string (actual: string, maximum:
string)
Therefore, your actual resulting ORA-12899 error message should look
something like this:
ORA-12899: value too large for column AUTHOR_LASTNAME (actual: 22, maximum: 20)
Although your question does not reveal much about what you were
trying to do, the resulting ORA-12899 does! The usual suspects
to check are:
- SQL statements to make sure they're correct
- Source and destination column data types to make sure they
are compatible
- Destination column width to make sure it's large enough for
your largest expected value
If all of that checks out, you can try again and let us know more
about the process and the error you're getting.
|
|
|
|
Guarantee your Success!
Oracle is the
world's most complex, robust and flexible database, considered
impossible to master without a mentor.
That's why all BC
Oracle trainers are working professionals, experts in Oracle who
share their tips and secrets. |
|
| |
|
Burleson is the American Team

Note:
This Oracle
documentation was created as a support and Oracle training reference for use by our
DBA performance tuning consulting professionals.
Feel free to ask questions on our
Oracle forum.
Verify
experience!
Anyone
considering using the services of an Oracle support expert should
independently investigate their credentials and experience, and not rely on
advertisements and self-proclaimed expertise. All legitimate Oracle experts
publish
their Oracle
qualifications.
Errata?
Oracle technology is changing and we
strive to update our BC Oracle support information. If you find an error
or have a suggestion for improving our content, we would appreciate your
feedback. Just
e-mail:
and include the URL for the page.
Copyright © 1996 - 2012
All rights reserved.
Oracle ©
is the registered trademark of Oracle Corporation.
|
|