I have the following case, I'm trying to convert a date
field to datetime
using update
update tb_RHContratos
set DtCadastro = cast(DtCadastro as datetime)
But some of the date does not format correctly as they are too many record is difficult to identify which date is wrong.
I have the following error msg
Message 242, Level 16, State 3, Line 13 The conversion of a type of date data in a datetime data type resulted in a value outside of interval. The statement has been terminated
Can you identify which date is out of range with a select or something?