Viewing post 1 (of 1 total)
Instead of double converting (first to varchar then back to datetime), wouldn't it be simpler and "cleaner" to do this:
select dateadd(dd,datediff(dd,0,getdate()),0)
Enjoyed the article
December 17, 2008 at 8:24 am
#913873