-
Which mode does not remove trailing spaces when CHAR values are retrieved?
-
- TO_FULL_LENGTH_CHAR_PAD
- PAD_CHAR_TO_FULL_LENGTH
- PAD_CHAR_TO_LENGTH
- CHAR_PAD_TO_FULL_LENGTH
- None of these
Correct Option: B
When the CHAR values are stored, they are right-padded with spaces to the specified length. When CHAR values are retrieved, trailing spaces are removed unless the SQL mode ‘PAD_CHAR_TO_FULL_LENGTH’ is enabled.