max length of varchar in mysql database code example Example: max length found in mysql SELECT city, max(length(city)) FROM Customers;