Time intervals

The data types of Time Intervals stores time intervals. For example, 2 year 1 months, 25 months, -3 days 4 hours 5 minutes, 1 day 2 hours, -100 hours. A time interval stores a length of time, whereas a date or timestamp stores a specific date and time.

TypeDescription
INTERVAL YEAR[(years_precision)]TO MONTHStores a time interval in years and months.
INTERVAL DAY[(days_precision)]TO SECOND[(seconds_precision)Stores a time interval in days and seconds.
Home »
Oracle »
Data types » 

Time_intervals:
  1. Time intervals
  2. INTERVAL YEAR TO MONTH
  3. INTERVAL DAY TO SECOND
Related: