Access SQL statement to query the current day -


i'm working access database school , i'm trying figure out how pull of transactions current day without having manually change date range. current query is:

select count (custid) [number of transactions] [transaction] date=_____ 

so there way have access pull date machine , use that?

thanks in advance!

the getdate() equivalent in access now().

if format date column short date, format short date, equivalent.

    select count (custid) [number of transactions]     [transaction]     format (date, "short date") = format(now(), "short date") 

Comments

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -