Re: Problem with sql function LOWER

Поиск
Список
Период
Сортировка
От Steve Brett
Тема Re: Problem with sql function LOWER
Дата
Msg-id C05E7DA1218ED411BF8A00105AC95A8E05A1F338@sv-cntrmail.emis.local
обсуждение исходный текст
Ответ на Problem with sql function LOWER  ("Th Templ" <templ_th@hotmail.com>)
Список pgsql-jdbc
seems to work fine on my machine ...

test=# create table personne(Nom text,Prenom text);
CREATE
test=# insert into personne values('Test','Test1');
INSERT 11276949 1
test=# SELECT Nom,Prenom from personne where LOWER(Nom)='test';

 nom  | prenom
------+--------
 Test | Test1
(1 row)

test=# select version();
                           version
-------------------------------------------------------------
 PostgreSQL 7.2 on i686-pc-linux-gnu, compiled by GCC 2.95.2
(1 row)

test=#

Steve

> -----Original Message-----
> From: Th Templ [mailto:templ_th@hotmail.com]
> Sent: 03 July 2002 15:19
> To: SBrett@e-mis.com
> Cc: pgsql-jdbc@postgresql.org
> Subject: RE: [JDBC] Problem with sql function LOWER
>
>
> 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
>



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

Предыдущее
От: "Th Templ"
Дата:
Сообщение: Re: Problem with sql function LOWER
Следующее
От: Jean-Luc Lachance
Дата:
Сообщение: Re: Problem with sql function LOWER