From: | Martín Marqués <martin(at)bugs(dot)unl(dot)edu(dot)ar> |
---|---|
To: | Tony Grant <tony(at)animaproductions(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | PostgreSQL general list <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: locale and spanish acute |
Date: | 2001-09-17 20:49:50 |
Message-ID: | 20010917204951.B9D012AB45@bugs.unl.edu.ar |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Lun 17 Sep 2001 04:31, Tony Grant wrote:
> On Fri, 2001-09-14 at 15:49, Peter Eisentraut wrote:
> > Martín Marqués writes:
> > > select count(*) from tab1 where col1 LIKE '%mas%'
> > >
> > > but I would like it to catch rows with "más" also.
>
> select count(*) from tab1 where col1 ILIKE to_ascii($1)
>
> works for me.
But I want it to work with más too. For that I would need to change that
query for this one:
select count(*) from tab1 where to_ascii(col1) ILIKE to_ascii($1)
Right?
Saludos... :-)
--
Porqué usar una base de datos relacional cualquiera,
si podés usar PostgreSQL?
-----------------------------------------------------------------
Martín Marqués | mmarques(at)unl(dot)edu(dot)ar
Programador, Administrador, DBA | Centro de Telematica
Universidad Nacional
del Litoral
-----------------------------------------------------------------
From | Date | Subject | |
---|---|---|---|
Next Message | Doug McNaught | 2001-09-17 21:01:46 | Re: Transaction |
Previous Message | Tom Lane | 2001-09-17 20:34:48 | Re: Problem with database: FATAL 1: cannot find attribute 24 |