Why doesn't this work?
SELECT DownloadFile, TransactionType, TransactionDate
FROM Transaction
WHERE (DatePart("yyyy", [TransactionDate]) = 1999) AND (DatePart("mm", [TransactionDate]) = 7)
This works:
SELECT DownloadFile, TransactionType, TransactionDate
FROM Transaction
WHERE (DatePart("yyyy", [TransactionDate]) = 1999)
I just don't get it...
Thanks
SELECT DownloadFile, TransactionType, TransactionDate
FROM Transaction
WHERE (DatePart("yyyy", [TransactionDate]) = 1999) AND (DatePart("mm", [TransactionDate]) = 7)
This works:
SELECT DownloadFile, TransactionType, TransactionDate
FROM Transaction
WHERE (DatePart("yyyy", [TransactionDate]) = 1999)
I just don't get it...
Thanks