I have a string \'2009-06-24 09:52:43.000\', which I need to insert to a DateTime column of a table.
But I don\'t care about the time, just want to insert it as 2009-06-
cast it to a date, and then you can use CONVERT to get just the date.
INSERT MyTable(Column1) SELECT CONVERT(CHAR(8), CAST('2009-06-24 09:52:43.000' AS DATETIME), 112)