Re: Help with SELECT and string

From: "Nick Fankhauser" <nickf(at)ontko(dot)com>
To: "Tomasz Misterka" <tomasz(at)hieroglif(dot)com(dot)pl>, <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Help with SELECT and string
Date: 2001-10-02 17:22:57
Message-ID: NEBBLAAHGLEEPCGOBHDGMEMNDLAA.nickf@ontko.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

> Now when I'm searching database for word "chris" i can't find word
> "Chris" - how the SELECT should looks like?

select name from nametable where lower(name) = 'chris';

or

select name from nametable where upper(name) = 'CHRIS';

-Nick

PS: I'd suggest taking general SQL questions like this to the pgsql-general
list.

---------------------------------------------------------------------
Nick Fankhauser

Business:
nickf(at)doxpop(dot)com Phone 1.765.965.7363 Fax 1.765.962.9788
doxpop - Court records at your fingertips - http://www.doxpop.com/

Personal:
nick(at)fankhausers(dot)com http://www.fankhausers.com

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Stephan Szabo 2001-10-02 17:37:59 Re: Help with SELECT and string
Previous Message Marc Spitzer 2001-10-02 17:14:21 Re: moving user obejcts to production