Oracle Difference Date. The minus sign is used to compute the difference between two dates. The result is negative if the first date is later than the second date.
5 Tips For Better Pinterest And Instagram Descriptions Using Keywords Make All The Difference Marketing Techniques Blog Marketing Social Media Workshop from www.pinterest.com
To finding out the difference in months we will use the function months between that gives us the final result. Select sysdate 1 sysdate 24 60 60 as seconds from dual. Getting the difference between dates.
Sql select 24 to date 20014 06 19 yyyy mm dd to date 2010 07 07 yyyy mm dd date difference from dual.
Ss which computes the difference in seconds. Use the datedifffunction to calculate the difference between two dates or datetimes in days or seconds. Select sysdate 1 sysdate 24 60 60 as seconds from dual. In oracle the difference in days and or fractions thereof between two dates can be found using subtraction.