pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mike Field <mike@fieldco.com>
To: pgsql-sql@postgreSQL.org
Subject: Searching Text Fields - Case Sensitive?
Date: Thu, 12 Aug 1999 10:59:20 -0400
Message-ID: <003401bee4d3$42774e20$0200a8c0@mike> (raw)

Hi-

If I want to search a text field for a certain word, say 'foobar', using:

SELECT * FROM mydb WHERE description LIKE "%foobar%";

it seems to be case sensitive.  Is there a way to do it so it is NOT case-sensitive?

Please let me know.
Thanks,
Mike

mike@fieldco.com

view thread (5+ messages)  latest in thread

Message-ID: <003401bee4d3$42774e20$0200a8c0@mike>
Permalink:  ../003401bee4d3$42774e20$0200a8c0@mike/
Also on:    postgresql.org/message-id/003401bee4d3$42774e20$0200a8c0@mike

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: mike@fieldco.com
  Subject: Re: Searching Text Fields - Case Sensitive?
  In-Reply-To: <003401bee4d3$42774e20$0200a8c0@mike>
  References: <003401bee4d3$42774e20$0200a8c0@mike>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox