update "a"."b" set create_time = DATE_ADD (create_time,interval '1' day)
这是一天的,想要一年就把day改为year
更新数据库:时间间隔调整,从天到年
本文介绍如何将SQL语句中的时间间隔从一天修改为一年,即`update a.b set create_time = DATE_ADD(create_time, interval '1' year)`,适用于数据库日期操作的年度更新需求。
update "a"."b" set create_time = DATE_ADD (create_time,interval '1' day)
这是一天的,想要一年就把day改为year

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