Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Can I get the value closest to a specific date?

41198Apr 26 2002
I wonder if it's possible to fetch a value from a table that is closest to a specific date. An example is that you want to fetch the value of 31 of May. This date does not exist instead I want to get the closest value to the 31 of May. It doesn't matter if it's an earlier date or later just the closest. Between doesn't work since I only have one date and I just want to get another date.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 29 2002
Added on Apr 26 2002
18 comments
6,488 views