![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
i run INSERT INTO test (FIELD1) VALUES ('a''a') but DBMS oracle returns this error: ORA-01401: inserted value too large for column (FIELD1 size is 3!) what's the error? Might be one of unicode charsets having each symbol more than one byte and column size defined in bytes not chars. Check DB charset and whether column is defined as char or byte. |
#12
| |||
| |||
|
|
i run INSERT INTO test (FIELD1) VALUES ('a''a') but DBMS oracle returns this error: ORA-01401: inserted value too large for column (FIELD1 size is 3!) what's the error? Might be one of unicode charsets having each symbol more than one byte and column size defined in bytes not chars. Check DB charset and whether column is defined as char or byte. |
#13
| |||
| |||
|
|
i run INSERT INTO test (FIELD1) VALUES ('a''a') but DBMS oracle returns this error: ORA-01401: inserted value too large for column (FIELD1 size is 3!) what's the error? Might be one of unicode charsets having each symbol more than one byte and column size defined in bytes not chars. Check DB charset and whether column is defined as char or byte. |
#14
| |||
| |||
|
|
Gints Plivna <gints.plivna (AT) gmail (DOT) com> wrote: i run INSERT INTO test (FIELD1) VALUES ('a''a') but DBMS oracle returns this error: ORA-01401: inserted value too large for column (FIELD1 size is 3!) what's the error? Might be one of unicode charsets having each symbol more than one byte and column size defined in bytes not chars. Check DB charset and whether column is defined as char or byte. Not in this case. Both "a" and "'" are only one byte long in UTF-8, and UTF-16 is not a valid database character set. But you are right that a weird character set might be at fault! Yours, Laurenz Albe |
#15
| |||
| |||
|
|
Gints Plivna <gints.plivna (AT) gmail (DOT) com> wrote: i run INSERT INTO test (FIELD1) VALUES ('a''a') but DBMS oracle returns this error: ORA-01401: inserted value too large for column (FIELD1 size is 3!) what's the error? Might be one of unicode charsets having each symbol more than one byte and column size defined in bytes not chars. Check DB charset and whether column is defined as char or byte. Not in this case. Both "a" and "'" are only one byte long in UTF-8, and UTF-16 is not a valid database character set. But you are right that a weird character set might be at fault! Yours, Laurenz Albe |
#16
| |||
| |||
|
|
Gints Plivna <gints.plivna (AT) gmail (DOT) com> wrote: i run INSERT INTO test (FIELD1) VALUES ('a''a') but DBMS oracle returns this error: ORA-01401: inserted value too large for column (FIELD1 size is 3!) what's the error? Might be one of unicode charsets having each symbol more than one byte and column size defined in bytes not chars. Check DB charset and whether column is defined as char or byte. Not in this case. Both "a" and "'" are only one byte long in UTF-8, and UTF-16 is not a valid database character set. But you are right that a weird character set might be at fault! Yours, Laurenz Albe |
#17
| |||
| |||
|
|
Gints Plivna <gints.plivna (AT) gmail (DOT) com> wrote: i run INSERT INTO test (FIELD1) VALUES ('a''a') but DBMS oracle returns this error: ORA-01401: inserted value too large for column (FIELD1 size is 3!) what's the error? Might be one of unicode charsets having each symbol more than one byte and column size defined in bytes not chars. Check DB charset and whether column is defined as char or byte. Not in this case. Both "a" and "'" are only one byte long in UTF-8, and UTF-16 is not a valid database character set. But you are right that a weird character set might be at fault! Yours, Laurenz Albe |
![]() |
| Thread Tools | |
| Display Modes | |
| |