Posted By

pauliehaha on 01/23/09


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


set time to 0 in datetime

 / Published in: SQL

  1. SELECT cast( floor( cast( getdate() AS float ) ) AS datetime ) AS date_only

Report this snippet  

You need to login to post a comment.