What is the best way to truncate a date in SQL Server?

Posted by John Gietzen on Stack Overflow See other posts from Stack Overflow or by John Gietzen
Published on 2010-04-14T16:12:14Z Indexed on 2010/04/14 16:13 UTC
Read the original article Hit count: 91

Filed under:

If I have a date value like 2010-03-01 17:34:12.018

What is the most efficient way to turn this into 2010-03-01 00:00:00.000?

© Stack Overflow or respective owner

Related posts about sql-server