Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Regexp with lower case

992744Jul 15 2014 — edited Jul 15 2014

Hi all,

I have a database Oracle 11G. There is a table called TEMP with 35 million rows. In this table there is a column DESCRIPTION defined as VARCHAR2 and length 50.

My question is this: Most of the DESCRIPTION have been saved in all uppercase however a small number of them are in a mix of uppercase, lowercase and symbols. I am looking for a SQL query that will return all rows where this column contains lowercase characters.

i have tried with the below one and getting results,

select description  from temp where  REGEXP_LIKE(description, '[[:lower:];

FINISH 2x25

FINISH 2&2!5

FINISH 23 SiV

Finish........ex

but I am looking for a SQL query that will return all rows where this column contains 100% lowercase characters.

Ex:

FINISH 23 SiV

Finish

could anyone help on this?

Thanks.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 12 2014
Added on Jul 15 2014
7 comments
851 views