Re: Problem with sql function LOWER

From: Steve Brett <SBrett(at)e-mis(dot)com>
To: Th Templ <templ_th(at)hotmail(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Problem with sql function LOWER
Date: 2002-07-03 14:24:50
Message-ID: C05E7DA1218ED411BF8A00105AC95A8E05A1F338@sv-cntrmail.emis.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)hotmail(dot)com]
> Sent: 03 July 2002 15:19
> To: SBrett(at)e-mis(dot)com
> Cc: pgsql-jdbc(at)postgresql(dot)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(at)e-mis(dot)com>
> >To: Th Templ <templ_th(at)hotmail(dot)com>, pgsql-jdbc(at)postgresql(dot)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(at)hotmail(dot)com]
> > > Sent: 03 July 2002 14:50
> > > To: pgsql-jdbc(at)postgresql(dot)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(at)postgresql(dot)org)
> > >
> > >
>
>
>
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>

Browse pgsql-jdbc by date

  From Date Subject
Next Message Jean-Luc Lachance 2002-07-03 15:05:46 Re: Problem with sql function LOWER
Previous Message Th Templ 2002-07-03 14:18:48 Re: Problem with sql function LOWER