Answers for "mysql count lines in text field"

SQL
5

mysql count newlines in field

select LENGTH(my_column)-LENGTH(REPLACE(my_column, '\n', '')) as total_new_lines
Posted by: Guest on February-16-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language