pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jordan Reiter <jordan@breezing.com>
To: pgsql-sql@postgresql.org
Subject: Case Sensitive "WHERE" Clauses?
Date: Thu, 26 Sep 2002 13:54:41 -0400
Message-ID: <a05100312b9b8f9c321b3@[63.172.201.5]> (raw)

Are string comparisons in postgresql case sensitive?

I keep on having this response:

SELECT *
FROM People
WHERE first_name='jordan'

Result: 0 records

SELECT *
FROM People
WHERE first_name='Jordan'

Result: 1 record

I though that string matching in SQL was case-insensitive. Isn't this correct? If not, what workarounds have been used successfully before? Obviously, formatting the search string for the query is not a solution...
-- 

Jordan Reiter                          mailto:jordan@breezing.com
Breezing.com                           http://breezing.com
1106 West Main St                      phone:434.295.2050
Charlottesville, VA 22903              fax:603.843.6931



view thread (13+ messages)  latest in thread

Message-ID: <a05100312b9b8f9c321b3@[63.172.201.5]>
Permalink:  ../a05100312b9b8f9c321b3@%5B63.172.201.5%5D/
Also on:    postgresql.org/message-id/a05100312b9b8f9c321b3@[63.172.201.5]

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: jordan@breezing.com
  Subject: Re: Case Sensitive "WHERE" Clauses?
  In-Reply-To: <a05100312b9b8f9c321b3@[63.172.201.5]>

* 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