SQL Database Query
I want retreive data from Table1 from a SQL database which match the WHERE
criteria:
SELECT *
FROM Table1
WHERE (date1='07/07/2005')
date1 is a field in Excel which I use to define the date for the WHERE
criteria.
I tried the following but it did not work (I entered the date value in field
A1 in the Excel sheet):
SELECT *
FROM Table1
WHERE ('A1'='07/07/2005')
What am I doing wrong?
Thanks
|