InterviewSolution
Saved Bookmarks
| 1. |
The mode that does not remove trailing spaces when CHAR values are retrieved is _____________(a) PAD_CHAR_TO_FULL_LENGTH(b) TO_FULL_LENGTH_CHAR_PAD(c) CHAR_PAD_TO_FULL_LENGTH(d) PAD_CHAR_TO_LENGTH |
|
Answer» Correct answer is (a) PAD_CHAR_TO_FULL_LENGTH The explanation: 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. |
|