Re: how do I check for lower case

From: Rodrigo De León <rdeleonp(at)gmail(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: how do I check for lower case
Date: 2006-08-10 21:39:23
Message-ID: a55915760608101439p2f4e7cf6s6b6103f9c4616965@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On 8/10/06, Juliann Meyer <Julie(dot)Meyer(at)noaa(dot)gov> wrote:
> I have a table with a column, lets call it identifier, that is defined
> as varchar(8) that should never contain lower case letters. Its a large
> table. Is there a way to query the table to see if any values in this
> column are lower case and to get a list out? The user interface
> application that users use prevents them from adding an entry in lower
> case now, but didn't in earlier version.

select * from sometable where identifier <> upper(identifier);

Regards,

Rodrigo

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Daryl Richter 2006-08-10 21:46:52 Re: how do I check for lower case
Previous Message Juliann Meyer 2006-08-10 20:32:05 how do I check for lower case