Multiple choice technology databases

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

  1. True

  2. False

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

When the input year is '99', YY and RR formats give different results. YY interprets '99' as 2099 (current century), while RR's sliding window maps '99' to 1999 (previous century, assuming current year is in 00-49 range). Therefore, the outputs are NOT the same.