增加天数
update gps_car set cartime=cartime-interval '11 0: 00' day to minute where id='57435'
增加月份
update gps_car g set g.cartime= to_date(to_char(add_months(cartime,+3),'yyyy-mm-dd hh24:mi:ss'),'yyyy-mm-dd hh24:mi:ss');
oracle时间函数
最新推荐文章于 2024-05-27 00:54:40 发布
本文介绍如何使用SQL命令来更新数据库中的时间字段,包括增加特定的天数和月份。
829

被折叠的 条评论
为什么被折叠?



