The belowI have this code in sql serverSQL Server 2016
SelectSELECT convertCONVERT (DATETIME, convertCONVERT(varchar(8), ExpiryDate)) is givingI get this result as:
ExpiryDate ------------------------ 2020-08-03 00:00:00.000 howHow can iI remove the .000.000 (the milli secondmilliseconds part).?
Expected Resultresult should be:
2020-08-03 00:00:00 Please help