Finding line break and carriage return (\r\n) in MySQL

后端 未结 1 693
孤独总比滥情好
孤独总比滥情好 2020-12-29 20:12

I can\'t seem to find any info about this on the internet (or I\'m just not looking in the right direction).

I have a few fields in my MySQL database containing a ca

相关标签:
1条回答
  • 2020-12-29 20:39
    SELECT * FROM mytable WHERE mycolumn REGEXP "\r\n";
    

    finds all records in mytable where mycolumn contains a \r\n sequence.

    0 讨论(0)
提交回复
热议问题