I have the following in a where clause of a select statement:
InvoiceDate BETWEEN CONVERT (DATETIME, '01.01.2011', 104) AND CONVERT(DATETIME, '01.08.2011', 104)
and I'm receiving results all the way back to 2008. What's wrong with my query?
I have the following in a where clause of a select statement:
InvoiceDate BETWEEN CONVERT (DATETIME, '01.01.2011', 104) AND CONVERT(DATETIME, '01.08.2011', 104)
and I'm receiving results all the way back to 2008. What's wrong with my query?