sql语句获取datetime类型的年月日时分秒

库表

获取年

获取月

获取日

获取时

获取分

获取秒

猜你喜欢

转载自blog.csdn.net/kxj19980524/article/details/85303345
今日推荐