I can extract the month and day by using Day(Date()), Month(Date()). I can\'t extract hours, with HOUR(Date()). I get the following er
Day(Date())
Month(Date())
HOUR(Date())
you must use datepart()
like datepart(hour , getdate())