pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: pgml@gmx.de <pgml@gmx.de>
To: pgsql-general@lists.postgresql.org
Subject: SQL Question about like
Date: Mon, 10 Aug 2020 18:37:05 +0200
Message-ID: <00d20cc2-0c97-8ce7-768a-a2c8bc396d19@gmx.de> (raw)

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






view thread (7+ messages)  latest in thread

Message-ID: <00d20cc2-0c97-8ce7-768a-a2c8bc396d19@gmx.de>
Permalink:  ../00d20cc2-0c97-8ce7-768a-a2c8bc396d19@gmx.de/
Also on:    postgresql.org/message-id/00d20cc2-0c97-8ce7-768a-a2c8bc396d19@gmx.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: pgml@gmx.de
  Subject: Re: SQL Question about like
  In-Reply-To: <00d20cc2-0c97-8ce7-768a-a2c8bc396d19@gmx.de>
  References: <00d20cc2-0c97-8ce7-768a-a2c8bc396d19@gmx.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox