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-
If you will always have the date in the same format, i.e. yyyy-MM-DD you can grab the first 10 characters if the value and insert that which is the equivelant of 00:00:00.0000 time for that date.
select left('2009-12-32 4:32:00',10)
This is a very efficient way to do this as it does't require converting data types HOWEVER, it does require that the date will always be formatted with a four digit year and two digit day & month.