Lists: | pgsql-es-ayuda |
---|
From: | "AUGUSTO ESTEBAN" <augustin_hm(at)yahoo(dot)es> |
---|---|
To: | "Postgresql" <pgsql-es-ayuda(at)postgresql(dot)org> |
Subject: | usando like |
Date: | 2005-12-02 13:38:01 |
Message-ID: | 20051202134435.164A09DCC8F@postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-es-ayuda |
saludos lista,
estaba probando algo de like y primera vez que me encuentro en esta incognita,
WHERE ubigeo_domicilio like '%0501%'
eso me devuelve cuaquier patrron que coincida con 0501, pero como puede hacer para que me devuelva "lo que no coincida con ese patron"???
atte
AUGUSTO ESTEBAN HUMIRE MARTINEZ
From: | Juan Romero <jgromero(at)gmail(dot)com> |
---|---|
To: | augustin_hm(at)yahoo(dot)es |
Cc: | Postgresql <pgsql-es-ayuda(at)postgresql(dot)org> |
Subject: | Re: usando like |
Date: | 2005-12-02 14:18:58 |
Message-ID: | 3c7410400512020618s3ec577d1pf7a04e997846a187@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-es-ayuda |
On 12/2/05, AUGUSTO ESTEBAN <augustin_hm(at)yahoo(dot)es> wrote:
>
> saludos lista,
> estaba probando algo de like y primera vez que me encuentro en esta
> incognita,
>
> WHERE ubigeo_domicilio like '%0501%'
>
> eso me devuelve cuaquier patrron que coincida con 0501, pero como puede
> hacer para que me devuelva "lo que no coincida con ese patron"???
NOT LIKE
>
>
>
>
> atte
>
> AUGUSTO ESTEBAN HUMIRE MARTINEZ
>
>
>
From: | gonzalo sáenz <gonzalosaenz(at)gmail(dot)com> |
---|---|
To: | augustin_hm(at)yahoo(dot)es |
Cc: | Postgresql <pgsql-es-ayuda(at)postgresql(dot)org> |
Subject: | Re: usando like |
Date: | 2005-12-02 14:20:14 |
Message-ID: | 7ae163a40512020620j1243a70es30b247a308f1d628@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-es-ayuda |
On 12/2/05, AUGUSTO ESTEBAN <augustin_hm(at)yahoo(dot)es> wrote:
>
> saludos lista,
> estaba probando algo de like y primera vez que me encuentro en esta
> incognita,
>
> WHERE ubigeo_domicilio like '%0501%'
>
> eso me devuelve cuaquier patrron que coincida con 0501, pero como puede
> hacer para que me devuelva "lo que no coincida con ese patron"???
>
con not like
salu2
gonzalo
>
>
> --
> When things are investigated, then true knowledge is achieved;
> when true knowledge is achieved, then the will becomes sincere;
> when the will becomes sincere, then the heart sees correctly;
> when the heart sees correctly, then the personal life is cultivated;
> when the personal life is cultivated, then the family life is regulated;
> when the family life is regulated, then the national life is orderly;
> and when the national life is orderly, then there is peace in this world.
>
> Confucius
From: | Jaime Casanova <systemguards(at)gmail(dot)com> |
---|---|
To: | augustin_hm(at)yahoo(dot)es |
Cc: | Postgresql <pgsql-es-ayuda(at)postgresql(dot)org> |
Subject: | Re: usando like |
Date: | 2005-12-02 14:20:25 |
Message-ID: | c2d9e70e0512020620l3f4adf7bu2f82e04785cc3891@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-es-ayuda |
On 12/2/05, AUGUSTO ESTEBAN <augustin_hm(at)yahoo(dot)es> wrote:
>
> saludos lista,
> estaba probando algo de like y primera vez que me encuentro en esta
> incognita,
>
> WHERE ubigeo_domicilio like '%0501%'
>
> eso me devuelve cuaquier patrron que coincida con 0501, pero como puede
> hacer para que me devuelva "lo que no coincida con ese patron"???
>
> atte
>
> AUGUSTO ESTEBAN HUMIRE MARTINEZ
>
WHERE ubigeo_domicilio NOT LIKE '%0501%'
--
Atentamente,
Jaime Casanova
(DBA: DataBase Aniquilator ;)
From: | "AUGUSTO ESTEBAN" <augustin_hm(at)yahoo(dot)es> |
---|---|
To: | "Postgresql" <pgsql-es-ayuda(at)postgresql(dot)org> |
Subject: | RE: usando like |
Date: | 2005-12-02 14:36:37 |
Message-ID: | 20051202143641.28BED9DCC9C@postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-es-ayuda |
:P
_____
De: gonzalo sáenz [mailto:gonzalosaenz(at)gmail(dot)com]
Enviado el: Viernes, 02 de Diciembre de 2005 09:20 a.m.
Para: augustin_hm(at)yahoo(dot)es
CC: Postgresql
Asunto: Re: [pgsql-es-ayuda] usando like
On 12/2/05, AUGUSTO ESTEBAN <augustin_hm(at)yahoo(dot)es> wrote:
saludos lista,
estaba probando algo de like y primera vez que me encuentro en esta incognita,
WHERE ubigeo_domicilio like '%0501%'
eso me devuelve cuaquier patrron que coincida con 0501, pero como puede hacer para que me devuelva "lo que no coincida con ese patron"???
con not like
salu2
gonzalo
--
When things are investigated, then true knowledge is achieved;
when true knowledge is achieved, then the will becomes sincere;
when the will becomes sincere, then the heart sees correctly;
when the heart sees correctly, then the personal life is cultivated;
when the personal life is cultivated, then the family life is regulated;
when the family life is regulated, then the national life is orderly;
and when the national life is orderly, then there is peace in this world.
Confucius