TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
David Smith
NA
2k
0
SQL date where clause
Sep 2 2012 3:34 AM
I need help with the datetime where clause, I am normally doing this in Linq, but now I want to do this where clause into a sql query. Review below.
Basically I selecting records between plus or minus 60 days from current datetime now. I am using an access database for current project. I just need help with current where clause in green.
Select firstName, lastName, CreatedDateTime
FROM ExampleTable
Where
CreatedDateTime >= DateAdd(""d"",Now(),-60) AND CreatedDateTime <= DateAdd(""d"",Now(),60)
Reply
Answers (
7
)
database confusion
SQL access fiscal where clause query