Answers for "mysql where string has lowercase letters"

SQL
2

mysql to lowercase

+--------------------+
| LOWER('ATTENTION') |
+--------------------+
| attention          |
+--------------------+
Posted by: Guest on November-04-2020
0

mysql check if lowercase

-- will detect all names that are not in uppercase
SELECT 
    name, UPPER(name) 
FROM table 
WHERE 
    BINARY name <> BINARY UPPER(name)
;

-- will detect all names that are not in lowrcase
SELECT 
    name, UPPER(name) 
FROM table 
WHERE 
    BINARY name <> BINARY LOWER(name)
;
Posted by: Guest on July-21-2020

Code answers related to "mysql where string has lowercase letters"

Code answers related to "SQL"

Browse Popular Code Answers by Language