Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2003
    Posts
    1

    Unanswered: datediff equivalent in oracle?

    Anybody know what it is?

    Maybe an example too?

    Any help appreciated.

  2. #2
    Join Date
    Sep 2002
    Location
    UK
    Posts
    5,171
    Provided Answers: 1

    Re: datediff equivalent in oracle?

    I don't know what datediff does exactly, but you can easily get the difference between two dates in Oracle as a number of days:

    SELECT date2 - date1 AS diff FROM table;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •