Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm trying to use Microsoft Query within Excel to write a SQL query against
a data set. SELECT e.EVENTNAME, e.EVENTDATE FROM EVENT e WHERE (e.EVENTDATE = DATE() ORDER BY e.EVENTDATE In the above, DATE() is not correct to get the current system date. I tried DATE, NOW, NOW(), GETDATE, GETDATE(), TODAY, TODAY().. now of which worked. Can someoine please tell me the correct syntax? Thanks! Ron |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
MS Query - Filtering all dates greater than the current date | Excel Discussion (Misc queries) | |||
Trying to pull the data for current date - Query | New Users to Excel | |||
Refer to current row in formula | Excel Worksheet Functions | |||
How do I enter a date range ie -7 from current date in MS QUERY | Excel Discussion (Misc queries) | |||
how to I refer to current workbook without using its name? | Excel Worksheet Functions |