储值卡改为不储值非储值(V6系列、Z7系列、V9商业、V10系列)
2019-03-04 22:37:54
找到合适的语句在关于本软件或查询分析器里执行
1.进入后台,点"帮助"->"关于本软件"->按CTRL+双击图片,出现sql语句输入
2.点插入及更新,点数据库1,在框中输入以下语句,点执行:
A、把某张卡储值改为不储值(不管有没有发行)
update pos_t_vip_info set is_saving='0' where is_saving='1' and card_id='卡号'
B、把所有储值卡改为不储值(不管有没有发行)
update pos_t_vip_info set is_saving='0' where is_saving='1'
C、把所有未发行的会员卡储值改为不储值
update pos_t_vip_info set is_saving='0' where is_saving='1' and card_status='3'
D、把某一个会员分类的会员卡储值改为不储值(不管有没有发行)
update pos_t_vip_info set is_saving='0' where is_saving='1' and card_type='两位会员分类编号'
E、把某一个会员分类的且未发行的会员卡储值改为不储值
update pos_t_vip_info set is_saving='0' where is_saving='1' and card_status='3' and card_type='两位会员分类编号'