Link to home
Start Free TrialLog in
Avatar of mjfigur
mjfigur

asked on

Oracle Where Clause Current_Date and Time

Ok I know this is going to be an easy one and I just do not deal with time that often in my current work.

I have a column called REQ_DT that is a DATE column and holds the date an account was requested (ex 2/27/2011 10:16:44 PM) as well as the time. I just need to have a where clause that selects all of the REQ_DT's where the REQ_DT is less than or equal to the CURRENT_DATE 2:00:00 pm

So basically all of the requests that were submitted before today at 2:00pm. Hope that anyone can assist.
ASKER CERTIFIED SOLUTION
Avatar of slightwv (䄆 Netminder)
slightwv (䄆 Netminder)

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mjfigur
mjfigur

ASKER

Cannot thank you enough worked pefect!
select * from <table_name> where req_dt <= trunc(sysdate)+14/24
Oops... too late :-)
Just getting ready to post the alternative...  you beat me

 trunc(sysdate)+14/24