Avatar 🍥

Coinidea的博客

Life is random

  1. Home
  2. Archives
  3. Search
  4. 简历
  5. 友情链接
    1. 暗色模式
Web开发

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

Dec 31, 2016
阅读时长: 1 分钟
English
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

相关文章

[LNMP]内存优化

[MySQL]MySQL自动备份

[MySQL]is marked as crashed and should be repaired

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

[SAE]SAE MySQL跨应用授权

© 2020 - 2026 Coinidea的博客
京ICP备15014655号