Result of Max(sysdate) - Min(sysdate)

I have some confusion about this question, Max(sysdate) - Min(sysdate)
i think the answer is zero but give some detail description about this.....!

Questions by Bakshu

Showing Answers 1 - 21 of 21 Answers

0 is correct answer for the above question.
The result is displaying as 0 only.
Please try the following query: select max(sysdate) - min(sysdate) res from dual;

  Was this answer useful?  Yes

simbu

  • Jul 14th, 2011
 

the answer is average.............not zero

  Was this answer useful?  Yes

Lakshmi

  • Jul 15th, 2011
 

Answer is zero only.....
try the query

Code
  1. SELECT max(sysdate)-min(sysdate) AS date FROM dual;

  2.  

it will give result as 0..

  Was this answer useful?  Yes

kishorekumar522

  • Jul 19th, 2011
 

the difference of dates give u the number of days between them.

so the difference of the max(sysdate)-min(sysdate) are calculation of the same day so there is no days.
as a result its value is zero.

  Was this answer useful?  Yes

Answer is zero since Max(sysdate) - Min(sysdate) would give the difference (in days) between the two dates

Code
  1. SQL> SELECT Max(sysdate) - Min(sysdate) FROM dual;

  2.  

  3. MAX(SYSDATE)-MIN(SYSDATE)

  4. -------------------------

  5.                         0

  6.  

  7. SQL>

  Was this answer useful?  Yes

ugander

  • Sep 21st, 2011
 

0

  Was this answer useful?  Yes

suresh shaw

  • Sep 23rd, 2011
 

max(sysdate)-min(sysdate)= 0

  Was this answer useful?  Yes

Ramesh hurakadli

  • Oct 3rd, 2011
 

result of Max(sysdate)-Min(sysdate),it means, it shows the date which is in between last date n first date of the month according to the system information.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions