SQL Question about like

From: "pgml(at)gmx(dot)de" <pgml(at)gmx(dot)de>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: SQL Question about like
Date: 2020-08-10 16:37:05
Message-ID: 00d20cc2-0c97-8ce7-768a-a2c8bc396d19@gmx.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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?

Thank you and best regards, Martin

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ravi Krishna 2020-08-10 16:38:10 Re: UUID or auto-increment
Previous Message Ashkar Dev 2020-08-10 15:53:23 UUID or auto-increment