Explicit conversion from data type datetime2 to float is not allowed ...

Explicit conversion from data type datetime2 to float is not allowed ...

More to explore