1Z0-007 · Question #21
Which two tasks can your perform by using the TO_CHAR function? (Choose two)
The correct answer is C. Convert 10 to `10' E. Convert a date to a character expression. TO_CHAR(x) function is used to convert the value x to a character or converts a date to a character string using formatting conventions. Incorrect Answers A: This function cannot convert the number to the string representing number spelled out. B: TO_CHAR() function cannot…
Question
Which two tasks can your perform by using the TO_CHAR function? (Choose two)
Options
- AConvert 10 to `TEN'
- BConvert `10' to 10
- CConvert 10 to `10'
- DConvert `TEN' to 10
- EConvert a date to a character expression
- FConvert a character expression to a date
How the community answered
(21 responses)- A5% (1)
- C71% (15)
- D5% (1)
- F19% (4)
Explanation
TO_CHAR(x) function is used to convert the value x to a character or converts a date to a character string using formatting conventions. Incorrect Answers A: This function cannot convert the number to the string representing number spelled out. B: TO_CHAR() function cannot convert the character value to a number. TO_NUMBER() function D: This function is not able to convert the string representing number spelled out to the number F: TO_CHAR() function cannot convert a character expression to a date. TO_DATE() function
Topics
Community Discussion
No community discussion yet for this question.