Microsoft SQL Server Extract Hour и Minite от DateTime
SELECT DATEPART(HOUR, GETDATE());
Jittery Jaguar
SELECT DATEPART(HOUR, GETDATE());
datepart ***Abbreviation
year ***yy, yyyy
quarter ***qq, q
month ***mm, m
dayofyear ***dy, y
day ***dd, d
week ***wk, ww
weekday ***dw, w
hour ***hh
minute ***mi, n
second ***ss, s
millisecond ***ms
microsecond ***mcs
nanosecond ***ns