SQLServer 取小时

select datepart(hh,getdate())
--or
select datename(hh,getdate())

posted on 2014-09-15 11:56  中国E客(eketeam)  阅读(1276)  评论(0)    收藏  举报