QuestionQ233

VerifiedUsing Conversion Functions and Conditional Expressions

Which two statements execute without error?

Choose two
Explanation

TO_DATE converts a character value to DATE using its datetime format model, and NLS_DATE_LANGUAGE = AMERICAN permits the DEC month abbreviation. TO_CHAR can format the resulting DATE; when its format is omitted, it uses the session’s default date format. A character literal is not itself a datetime value for TO_CHAR datetime formatting.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!