0

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?

4

1 回答 1

1

将 Jonathan 的评论作为答案发布,以便可以回答此问题并将其从未回答列表中删除:

您的 where 子句中是否有可能包含附加结果的 or 条件?

于 2013-05-24T20:15:40.017 回答