如何使用SELECT命令仅检索SQL中SmallDateTime数据类型中的时间?
发布于 2015-09-21 10:08:41
这将给出一个小时:
Select datename(hh, date_variable) from table_name
这会给你一分钟:
Select datename(mi, date_variable) from table_name
https://stackoverflow.com/questions/7473074
相似问题