Our database with a data type of datetime has some entries that are just dates and some with dates and times. For the entries with just dates, can we run a script that will set the time portion to midnight (0.00:00) but leave the date intact?
UPDATE: There seems to be some confusion with the question so I'll try to elaborate a little. When we query the database to get the order of events, they returned results are not ordered as expected since some results have dates only and others have dates and times. For the purpose of this query, we could careless about the time of the entry, just the date which is why we thought about just updating the existing dates to midnight.