Answers for "how to check uppercase and lowercase in mysql"

SQL
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 "how to check uppercase and lowercase in mysql"

Code answers related to "SQL"

Browse Popular Code Answers by Language