sql - How to convert datetime to date only (with time set to 00:00:00.000) -
I have a string '2009-06-24 09: 52: 43.000', which I put in a date time column
But I do not care about the time, just to include it as 2009-06-24 00: 00: 00.000
How can I do this? -SQL?
Convert (varchar (8), @ParamDate, 112) - Supported route CAST (Flower (CAST (@ParamDate AS float)) DATETIME AS - Unsupported method
Comments
Post a Comment