找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 69|回复: 0

清空特殊符号

[复制链接]

9

主题

6

回帖

73

积分

管理员

积分
73
发表于 2025-4-14 08:36:47 | 显示全部楼层 |阅读模式
  1. update bi_t_item_info set item_name = REPLACE(item_name,CHAR(10),'') where CHARINDEX(CHAR(10),item_name) > 0
  2. update bi_t_item_info set item_name = REPLACE(item_name,CHAR(9),'') where CHARINDEX(CHAR(9),item_name) > 0
  3. update bi_t_item_info set item_name = REPLACE(item_name,CHAR(13),'') where CHARINDEX(CHAR(13),item_name) > 0

  4. update bi_t_item_info set barcode = REPLACE(barcode,CHAR(10),'') where CHARINDEX(CHAR(10),barcode) > 0
  5. update bi_t_item_info set barcode = REPLACE(barcode,CHAR(9),'') where CHARINDEX(CHAR(9),barcode) > 0
  6. update bi_t_item_info set barcode = REPLACE(barcode,CHAR(13),'') where CHARINDEX(CHAR(13),barcode) > 0

  7. update bi_t_item_info set item_subno = REPLACE(item_subno,CHAR(10),'') where CHARINDEX(CHAR(10),item_subno) > 0
  8. update bi_t_item_info set item_subno = REPLACE(item_subno,CHAR(9),'') where CHARINDEX(CHAR(9),item_subno) > 0
  9. update bi_t_item_info set item_subno = REPLACE(item_subno,CHAR(13),'') where CHARINDEX(CHAR(13),item_subno) > 0

  10. update bi_t_item_smbarcode set barcode = REPLACE(barcode,CHAR(10),'') where CHARINDEX(CHAR(10),barcode) > 0
  11. update bi_t_item_smbarcode set barcode = REPLACE(barcode,CHAR(9),'') where CHARINDEX(CHAR(9),barcode) > 0
  12. update bi_t_item_smbarcode set barcode = REPLACE(barcode,CHAR(13),'') where CHARINDEX(CHAR(13),barcode) > 0

  13. select  card_inid,*  from pos_t_vip_info where card_id='0008500'
  14. select  *  from pos_t_vip_flow where card_id='0000005'
  15. select  *  from pos_t_vip_info_more where card_id='0000005'

  16. update pos_t_vip_info set card_id = REPLACE(card_id,CHAR(9),'') where CHARINDEX(CHAR(9),card_id) > 0
  17. update pos_t_vip_info set card_inid = REPLACE(card_inid,CHAR(9),'') where CHARINDEX(CHAR(9),card_inid) > 0
  18. update pos_t_vip_flow set card_id = REPLACE(card_id,CHAR(9),'') where CHARINDEX(CHAR(9),card_id) > 0
  19. update pos_t_vip_info_more set card_id = REPLACE(card_id,CHAR(9),'') where CHARINDEX(CHAR(9),card_id) > 0
复制代码


您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|河南明逸信息技术有限公司 ( 豫ICP备19035759号|豫公网安备41019702003467号 )

GMT+8, 2025-9-9 23:02 , Processed in 0.016382 second(s), 20 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表