How does one perform a case-insenstive query on test or char fields - Mailing list pgsql-general

From af300wsm@gmail.com
Subject How does one perform a case-insenstive query on test or char fields
Date
Msg-id 1168379072.875754.143330@i56g2000hsf.googlegroups.com
Whole thread Raw
Responses Re: How does one perform a case-insenstive query on test  (Erik Jones <erik@myemma.com>)
Re: How does one perform a case-insenstive query on test or char fields  ("Chad Wagner" <chad.wagner@gmail.com>)
List pgsql-general
Hello,

Well, the subject line pretty much says it all.  If any clarification
is needed, what I want to do is as follows:

SELECT * FROM table WHERE thisfield = 'some text';

How would I rewrite this query to search through the table looking at
the text in the column "thisfield" for the string "some text" but have
it perform a case insensitive search?

Thanks,
Andy


pgsql-general by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: Recording insert, updates, and deletes
Next
From: "dcrespo"
Date:
Subject: Re: Postgres Replication