Using Query to return data from SQL database
- From: DOOGIE <DOOGIE@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 24 Nov 2008 04:18:00 -0800
I am using an Excel spread*** to query a SQL database for information that
is stored by various dates. I only want to return information that was stored
in the SQL database within the last 24 hours. However, I run into a snag when
I am using the query wizard within Excel. When I get to the point where the
wizard asks if I want to filter the data I am retrieving, I enter that I want
the date field filtered by greater than or equal to "Today()-1". However,
Query does not recognize the Today() function. What should I enter to filter
my data by the date less than or equal to the last 24 hours or 1 day?
.
- Follow-Ups:
- RE: Using Query to return data from SQL database
- From: A&A - In Any Place
- RE: Using Query to return data from SQL database
- Prev by Date: RE: Importing .csv with #2000-04-06 10:15:00# date format field
- Next by Date: RE: Macro to select data Validation List Item
- Previous by thread: Macro to select only cells containing values within named range
- Next by thread: RE: Using Query to return data from SQL database
- Index(es):