i want to call items in a database based on a date range...can someone help me with this..i really don't have any idea how
jhedonghae
0
Junior Poster
Recommended Answers
Jump to PostIt depends on what database engine you are using. For example, in Access you would do (depending on your system's short-date format)
SELECT * FROM myTable WHERE thedate >= #2012-03-07# AND thedate <= #2012-09-15#
but in MS SQL you could do
SELECT * …
All 4 Replies
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
jhedonghae
0
Junior Poster
M.Waqas Aslam
67
Posting Pro in Training
Featured Poster
Icone
-1
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.