What is the best data type definition for Oracle when a field is alphanumeric and has a fixed length?
Answer: A
Correct answer: CHAR
CHAR is fixed width and pads every value to the declared length, which is exactly right for data that genuinely has one length - a two-character state code, a fixed-format reference. For anything varying, the padding is waste, and VARCHAR2 is the correct choice instead.
Please log in or register to report this question.