首页 > 其他 > 详细

需求库is_reserved_planning和last_reserved_planning状态字段为中文的刷新

时间:2020-12-14 21:53:50      阅读:33      评论:0      收藏:0      [点我收藏+]
select * from npas.de_cover_point where is_reserved_planning !=0 and is_reserved_planning !=1 and is_reserved_planning !=2 and is_reserved_planning !=3


and last_reserved_planning !=0 and last_reserved_planning !=1 and last_reserved_planning !=2 and last_reserved_planning !=3;





update npas.de_cover_point set is_reserved_planning=0 where is_reserved_planning=需求库;

update npas.de_cover_point set is_reserved_planning=1 where is_reserved_planning=储备库;

update npas.de_cover_point set is_reserved_planning=2 where is_reserved_planning=规划库;



update npas.de_cover_point set last_reserved_planning=0 where last_reserved_planning=需求库;

update npas.de_cover_point set last_reserved_planning=1 where last_reserved_planning=储备库;

update npas.de_cover_point set last_reserved_planning=2 where last_reserved_planning=规划库;

 

需求库is_reserved_planning和last_reserved_planning状态字段为中文的刷新

原文:https://www.cnblogs.com/chuyuan/p/14134735.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!