Search
 
SCRIPT & CODE EXAMPLE
 

SQL

postgresql not case sensitive where in

-- Install 'Case Ignore Test Extension'
create extension citext;

-- Make a request
select 'Thomas'::citext in ('thomas', 'tiago');
Comment

postgresql like case-insensitive

-- Postgresql case insensitive:
SELECT * FROM people WHERE name ILIKE 'JOHN'
-- John
-- JOHN
-- john
Comment

PREVIOUS NEXT
Code Example
Sql :: difference between join vs union 
Sql :: postgresql stored procedure update table values 
Sql :: primary key multiple colums 
Sql :: sql server insert inner join 
Sql :: MySQL INSERT IGNORE Statement 
Sql :: list all tables in postgres 
Sql :: mysql server not starting in xampp in mac 
Sql :: drop a view in sqlite 
Sql :: sql function to add all values round of 2 decimal places 
Sql :: remove foreign key constraints in postgres 
Sql :: host 127.0 0.1 is not allowed to connect to this mysql server 
Sql :: delete db postgres 
Sql :: AND OR NOT operators sql 
Sql :: grant all privileges microsoft sql 
Sql :: how to select an index in oracle sql 
Sql :: oracle array 
Sql :: mysql drop key 
Sql :: average salary in sql 
Sql :: oracle nvl 
Sql :: view table mysql 
Sql :: is numeric in sql 
Sql :: sql server pivot rows to columns 
Sql :: show oracle parameters 
Sql :: sql pass table name as variable 
Sql :: delete rows from table sql 
Sql :: SQL Syntax of LEFT JOIN 
Sql :: postgres describe table 
Sql :: add clumn to table postgres 
Sql :: convert dd/mm/yyyy to yyyy-mm-dd in sql server 
Sql :: android sqlite database example 
ADD CONTENT
Topic
Content
Source link
Name
7+6 =