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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

truncate date in Access SQL 1

Status
Not open for further replies.

dmaytum

Programmer
Mar 4, 2003
23
US
Is there a way to truncate a date field in an Access SQL join statement. I'm joining a date field with a date-time and a field with just a date, but not returning anything since there are no matches. Is there a "trunc" function that can be used in the join statement, like there is in Oracle?
 
ON Int(Table1.DateTime)=Int(Table2.DateTime)

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top