Avatar 🍥

Coinidea's Blog

Life is random

  1. Home
  2. Archives
  3. Search
  4. Resume
  5. Links
    1. Dark Mode
Web开发

[MySQL]删除字段中的回车符合换行符

Dec 31, 2016
1 minute read
1
update table set item=replace(replace(item, char(10), ''), char(13), '') where condition;
  • table: 表名
  • item: 字段名
  • condition: 查询条件
MySQL
Licensed under CC BY-NC-SA 4.0

Related content

[LNMP]内存优化

[MySQL]MySQL自动备份

[MySQL]is marked as crashed and should be repaired

[PHP]ThinkPHP PHP MySQL大数据量导入导出

[SAE]SAE MySQL跨应用授权

© 2020 - 2026 Coinidea's Blog
京ICP备15014655号