Selecting aload of records based on dates, but im getting dates returned which are not inside the range any ideas?
SELECT *
FROM TABLE
WHERE (
PAYMENT_DATE >= CONVERT(DATETIME, '2010-05-06')
AND PAYMENT_DATE <= CONVERT(DATETIME, '2013-11-11')
)
This for example will return a record that has a date of "2008-04-10 00:00:00.000"