I am not very SQL knowledgeable, and something that seems like it should be very simple has me stumped. I have a query that I run normally on the current day using
and T0.DocDate = CONVERT(VARCHAR(10),GETDATE(),102)'
to limit the results to the current day. I need to run the query for a specific past date, but am having no luck. I currently have it trying,
and T0.DocDate = "2014.03.21 00:00:00.000"'
which runs successfully but generates no results. I am hoping is a simple fix that you can point me to. Your help is appreciated.