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

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -