I am trying to find out what kind of results that I can expect when I run the following sql select statement. InvoiceDate is a smalldatetime data type in the database.
select Cast(InvoiceDate as real) as [cast realDate]
from Invoices
For a date of Jul 30, 2008 I get a result of 39657 For a date of Aug 02, 2008 I get a result of 39660
I can't find any information what kind of result this statement might return and we haven't gone over it in class. Please let me know if I am on the right track.
Thanks