Multiple choice technology databases

The output of the below two queries will be same. 1.select to_date('01-01-00','DD-MM-YY') from dual 2.select to_date('01-01-00','DD-MM-RR') from dual

  1. True

  2. False

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

For year '00', both YY and RR formats resolve to 2000 when the current year is in the 00-49 range. RR's sliding window maps 00-49 to the current century, and YY also maps to current century. Thus, both queries produce the same output.