php - How do I search a mysql database for entries that exceed a certain number of characters? -
I am in the process of organizing my website for search engine optimization. My website has a title tag of more than 100 pages that is too long. My page titles are stored in a MySQL database and I was hoping that I could run a search which would only list entries with more than 70 characters. I searched online and found in examples how to get an exact character number, but no one returns entries greater than any number
Thank you in advance for your help.
select from YourTable * where LENGTH (YourColumn) & gt; 70
Comments
Post a Comment