I am trying to covert date value to datetime in SQL with the following query,which is resulting to invalid value:
select convert(datetime,date_1, 25) from table1;
date_1(of data type date): 2019-12-02
expected o/p: 2019-12-02 00:00:00.000
actual o/p: 1905-06-29 00:00:00.000
Can anyone please tell me the right method of converting date to datetime? and what's wrong with the method I tried?