Viewing post 1 (of 2 total)
Hi All,
Check this it will work:
select * from CounterData
where
CONVERT(datetime,CONVERT(char(23),CounterDateTime),121)>dateadd(mi,-60,getdate())
Thanks,
Fouzan
March 3, 2014 at 6:09 pm
#1693739