Question : sql String comparisons case sensitive
Answered by : wilsonww
select * from Person.Person
where FirstName = 'Ken' COLLATE Latin1_General_CS_AS
Source : | Last Update : Sat, 19 Feb 22
Question : case sensitive SQL
Answered by : courageous-cassowary-lx4lj30cjj6v
Note that SQL is not case sensitive. However, it is a good practice to write the SQL keywords in CAPS and other names and variables in a small case.
Source : https://www.interviewbit.com/mysql-interview-questions/#mysql-numeric-data-types | Last Update : Tue, 30 Aug 22
Question : case insensitive sql
Answered by : obedient-ocelot-5tkogtygmlyl
-- find everyone with first_name contains d case insensitive manner
Make everthing either lower or upper case
SELECT FIRST_NAME , LAST_NAME
FROM EMPLOYEES
WHERE LOWER(FIRST_NAME) LIKE '%d%' ;
Source : | Last Update : Thu, 14 Jan 21
Question : sql like case sensitive
Answered by : vastemonde
-- Postgresql case insensitive:
SELECT * FROM people WHERE name ILIKE 'JOHN'
-- John
-- JOHN
-- john
Source : | Last Update : Mon, 12 Apr 21