Differences between INTERVAL YEAR TO MONTH and INTERVAL DAY TO SECOND in Oracle

Q

What Are the Differences between INTERVAL YEAR TO MONTH and INTERVAL DAY TO SECOND in Oracle?

✍: FYIcenter.com

A

The main differences between INTERVAL YEAR TO MONTH and INTERVAL DAY TO SECOND are:

  • INTERVAL YEAR TO MONTH stores values as time intervals at the month level.
  • INTERVAL DAY TO SECOND stores values as time intervals at the fractional seconds level.

 

Understanding SQL Language Basics for Oracle

⇒⇒Oracle Database Tutorials

2016-10-16, 165👍, 0💬