Answers for "mysql select case sensitive"

1

mysql like case sensitive

-- Use BINARY to make LIKE sensitive
SELECT 'abc' LIKE BINARY 'ABC';		-- 0
Posted by: Guest on June-19-2021
2

mysql select case insensitive

SELECT id 
  FROM groups
 WHERE LOWER(name)=LOWER('Administrator')
Posted by: Guest on July-13-2021
0

select binary case sensitove

SELECT *  FROM `table` WHERE BINARY `column` = 'value'
Posted by: Guest on June-23-2020

Browse Popular Code Answers by Language