declare @dt as datetime; set @dt = '2018-08-28T20:21:22'; print (@dt); set @dt = '20111213 18:19:20'; print (@dt);
Index