How do I get try_convert datetime to display NULL when the input is space?
I am getting two different results here. My intention is to show 'space' number query as Null also, just like first query.
select try_convert(datetime,'abcd') ---> Null
select try_convert(datetime,'') ---> '1/1/1900'