The e.calc_mostrecenthiredate is stored as a varchar. I have the following as part as my Where statement:
IsNull(convert(datetime,e.calc_mostrecenthiredate,1),'') >= '12/1/2005 00:00:01'
but get the following error:
Syntax error converting datetime from character string.
Warning: Null value is eliminated by an aggregate or other SET operation.
There are nulls in the field and the dates are stored as
10/6/1977
11/23/1981
How can I do this comparison?
Thanks for the help and time!
IsNull(convert(datetime,e.calc_mostrecenthiredate,1),'') >= '12/1/2005 00:00:01'
but get the following error:
Syntax error converting datetime from character string.
Warning: Null value is eliminated by an aggregate or other SET operation.
There are nulls in the field and the dates are stored as
10/6/1977
11/23/1981
How can I do this comparison?
Thanks for the help and time!