String Length in MySQL

Use the LENGTH() function in MySQL to determine string length.

Strlen() function in MySQL is LENGTH()

Date Created:Monday August 04th, 2008 02:43 AM
Date Modified:Monday August 04th, 2008 04:16 AM

SELECT name FROM folders WHERE LENGTH(name) > 25

Download: length.sql 48 B

Please login or Click Here to register for downloads
Creative Commons License
String Length in MySQL by Dan Lynch
is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License
Based on a work at
Permissions beyond the scope of this license may be available at