Re: Problem with sql function LOWER

Поиск
Список
Период
Сортировка
От Jean-Luc Lachance
Тема Re: Problem with sql function LOWER
Дата
Msg-id 3D2312CA.1644627F@nsd.ca
обсуждение исходный текст
Ответ на Re: Problem with sql function LOWER  ("Th Templ" <templ_th@hotmail.com>)
Список pgsql-jdbc
Is Nom of type varchar or char?....

If char:
SELECT Nom,Prenom from personne where trim(lower(Nom))='test';



Th Templ wrote:
>
> I make a mistake in my mail...
>
> SELECT Nom,Prenom from personne where
> LOWER(Nom)='test';
>
> This request returns no row.
> Templth
>
> >From: Steve Brett <SBrett@e-mis.com>
> >To: Th Templ <templ_th@hotmail.com>, pgsql-jdbc@postgresql.org
> >Subject: RE: [JDBC] Problem with sql function LOWER
> >Date: Wed, 3 Jul 2002 15:12:52 +0100
> >
> >SELECT Nom,Prenom from personne where
> >  LOWER(Nom)='test';
> >
> >Steve
> >
> > > -----Original Message-----
> > > From: Th Templ [mailto:templ_th@hotmail.com]
> > > Sent: 03 July 2002 14:50
> > > To: pgsql-jdbc@postgresql.org
> > > Subject: [JDBC] Problem with sql function LOWER
> > >
> > >
> > > Hello,
> > >
> > > I try to make this sql request but it returns nothing...
> > >
> > > Tables personne
> > > Nom       | Prenom
> > > ----------|------------
> > > Test      | Test1
> > >
> > > SELECT Nom,Prenom from personne where
> > > LOWER(personne.personne_nom)='test';
> > >
> > > (0 row)
> > >
> > > Is this syntax not correct?
> > > Thanks for your help.
> > > Templth
> > >
> > > _________________________________________________________________
> > > Join the world's largest e-mail service with MSN Hotmail.
> > > http://www.hotmail.com
> > >
> > >
> > >
> > >
> > > ---------------------------(end of
> > > broadcast)---------------------------
> > > TIP 2: you can get off all lists at once with the unregister command
> > >     (send "unregister YourEmailAddressHere" to
> > > majordomo@postgresql.org)
> > >
> > >
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org



В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Steve Brett
Дата:
Сообщение: Re: Problem with sql function LOWER
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Problem with sql function LOWER