SQLServer 取小时

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

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