Understanding the character comparison difference between JDBC and SQL*Plus
(Doc ID 1131104.1)
Last updated on MAY 01, 2024
Applies to:
JDBC - Version 11.1.0.7 and laterInformation in this document applies to any platform.
Symptoms
Char datatype implies fixed length, so data in a CHAR column in a table is appended with whitespaces if the inserted value is shorter than the defined length.
In this case, a single "1" does not match the value in the table. This is not the same result as SQL*Plus.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |