• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 990
  • Last Modified:

ORACLE SQL TO check date column against current date

Have a oracle table which has a date field in it.  Trying to figure out how to pull the information back where date field equals current date

TABLE_A
Field Name         Type               Length
Name                 varchar2          50
Date_entered     Date                  7

Just wanting something like
Select * from TABLE_A where Date_entere = sysdate;

Not working though...
0
TheVeee
Asked:
TheVeee
1 Solution
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
you want this:
Select * from TABLE_A where Date_entered >= trunc(sysdate) and Date_Entered < trunc(sysdate+1)

Open in new window

0
 
TheVeeeAuthor Commented:
Thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now