Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Two date fields in one table - Must compare values

Status
Not open for further replies.

marydn

Programmer
Mar 26, 2001
152
US
I have one table with two date fields. I need to pull all data from the table where the two date fields are equal. Is there any quick and simple way to do this? I have 130K records.

Thanks!!!!!!
 
In QUERY DESIGNER, type in SQL as follows:

SELECT * FROM <tablegoeshere> WHERE <datefield1goeshere> = <datefield2goeshere>
 
Thanks! It doesn't get much easier than that!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top