把时间和周几不同步的两个字段修改过来?
update dispatch_delivery_note no set no.delivery_week= to_char(no.delivery_date,'D')-1 where no.delivery_week <> to_char(no.delivery_date,'D')-1 |
本文出自 “小浩” 博客,请务必保留此出处http://zhangchi.blog.51cto.com/5214280/1151753
把时间和周几不同步的两个字段修改过来?
update dispatch_delivery_note no set no.delivery_week= to_char(no.delivery_date,'D')-1 where no.delivery_week <> to_char(no.delivery_date,'D')-1 |
本文出自 “小浩” 博客,请务必保留此出处http://zhangchi.blog.51cto.com/5214280/1151753