On 8/10/06 4:32 PM, "Juliann Meyer" <[EMAIL PROTECTED]> 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 table where column ~ '[a-z]'
>
> Julie
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to [EMAIL PROTECTED] so that your
> message can get through to the mailing list cleanly
--
Daryl
"Hell, there are no rules here-- we're trying to accomplish something."
-- Thomas A. Edison
---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend