Multiple choice technology databases

What is the result of the query "Select length(to_char(to_date(11032007,'ddmmyyyy'),'March')) from dual;" ?

  1. 3

  2. 5

  3. 9

  4. Error

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The date string 11032007 is parsed with format ddmmyyyy into March 11, 2007. Converting this date using the format mask 'March' returns the full month name 'March', and its character length is 5.