Re: SQL Question about like - Mailing list pgsql-general

From Adrian Klaver
Subject Re: SQL Question about like
Date
Msg-id 42775a6c-d4d9-26ea-39d9-22f2c734c9ac@aklaver.com
Whole thread Raw
In response to SQL Question about like  ("pgml@gmx.de" <pgml@gmx.de>)
List pgsql-general
On 8/10/20 9:37 AM, pgml@gmx.de wrote:
> Hello,
> 
> my SQL question is, why psql doesn't return the record?
> 
> create table lll (text char(100));
> insert into lll (text) values ('10% - Ersthelfer');
> 
> select * from lll where text like '10% - Ersthelfer';
> 
> Other databases (Maria, SQL Server, YARD) do this.
> What can I do in pg, to get the result?

A little documentation goes a long way:) :

https://www.postgresql.org/docs/12/functions-matching.html#FUNCTIONS-LIKE
> 
> Thank you and best regards, Martin
> 
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com



pgsql-general by date:

Previous
From: Michael Lewis
Date:
Subject: Re: UUID or auto-increment
Next
From: Ron
Date:
Subject: Re: UUID or auto-increment