Works fine, except this message:
Implicit conversion from data type varchar to timestamp is not allowed. Use the CONVERT function to run this query
So yes, TIMESTAMP
(RowVersion
) is NOT a DATE :)
To be honest, I fidddled around quite some time myself to find a way to convert it to a date.
Best way is to convert it to INT
and compare. That's what this type is meant to be.
If you want a date - just add a Datetime
column and live happily ever after :)
cheers mac