Explanation of a query

BBK

Registered User.
Local time
Today, 02:03
Joined
Jul 19, 2010
Messages
71
Can someone be kind enough to explain (in simple terms) what exactly the following is doing.


Code:
SELECT Lease.*
FROM Lease
WHERE (((Lease.EndDate) Between Date() And Date()+45));


Sorry for my stupidity :confused:

Thank you for taking the time to read this :)
 
It is selecting all of the fields in each record in the table lease where the enddate in the record is between todays date and todays date +45 days, dates are inclusive.


Stupidity is not asking when you don't know.

Brian
 
Thank you Brian for the explanation :)
 

Users who are viewing this thread

Back
Top Bottom