Re: how do I check for lower case - Mailing list pgsql-sql

From Rodrigo De León
Subject Re: how do I check for lower case
Date
Msg-id a55915760608101439p2f4e7cf6s6b6103f9c4616965@mail.gmail.com
Whole thread Raw
In response to how do I check for lower case  (Juliann Meyer <Julie.Meyer@noaa.gov>)
List pgsql-sql
On 8/10/06, Juliann Meyer <Julie.Meyer@noaa.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


pgsql-sql by date:

Previous
From: Juliann Meyer
Date:
Subject: how do I check for lower case
Next
From: Daryl Richter
Date:
Subject: Re: how do I check for lower case