Re: SQL Question about like

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: "pgml(at)gmx(dot)de" <pgml(at)gmx(dot)de>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: SQL Question about like
Date: 2020-08-10 16:51:29
Message-ID: 42775a6c-d4d9-26ea-39d9-22f2c734c9ac@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 8/10/20 9:37 AM, pgml(at)gmx(dot)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(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ron 2020-08-10 16:51:50 Re: UUID or auto-increment
Previous Message Michael Lewis 2020-08-10 16:49:53 Re: UUID or auto-increment