Viewing 2 posts - 1 through 2 (of 2 total)
Please try this
SELECT DATEADD(dd,DATEDIFF(dd,0,getdate()),0)
Which will give the date with no time.
2011-08-03 00:00:00.000
August 3, 2011 at 6:29 am
#1362971
Good article with detailed explanation for programmers who are new to SQL DMO.
Thanks
August 29, 2002 at 2:31 am
#435602