troubleshooting Question

date question in oracle

Avatar of anumoses
anumosesFlag for United States of America asked on
Oracle Database
37 Comments1 Solution448 ViewsLast Modified:
select to_char(current_date,'HH12:MI:SS AM') currenttime,
       start_time,
         to_char(start_time,'HH12:MI:SS AM') starttime,
       end_time,
         to_char(end_time,'HH12:MI:SS AM') endtime
  from blood_drives
 where site_code = 'A397'
   and drive_date = trunc(sysdate)

Is there a way to find if the currenttime is between starttime and endtime?
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 37 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 37 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros