Re: [SPAM] Override Like Operator

From: Moreno Andreo <moreno(dot)andreo(at)evolu-s(dot)it>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: [SPAM] Override Like Operator
Date: 2017-01-23 14:31:36
Message-ID: 36f85e89-2bb3-19fc-c7c3-e658dd38ecbd@evolu-s.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice


Il 23/01/2017 15:07, Rouzzi Anissa ha scritto:
> Hi,
>
> I need to override Like Operator because it's sensitive case, how
> could i achieve that?
>
use upper()
https://www.postgresql.org/docs/9.1/static/functions-string.html

i.e.
select foo from bar where upper(foobar) like '%BLAH%';

HTH
Moreno

> Thanks a lot
> --
> -- Cordialement
> -- ROUZZI Anissa

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message valeriof 2017-01-23 15:49:09 Deployment of an output plugin in Unix-like environment
Previous Message Binand Sethumadhavan 2017-01-23 14:30:13 Re: Override Like Operator