Oracle - Select where field has lowercase characters

前端 未结 6 2053
悲&欢浪女
悲&欢浪女 2021-02-12 13:32

I have a table, users, in an Oracle 9.2.0.6 database. Two of the fields are varchar - last_name and first_name.

When rows are inserted into this table, the first name a

6条回答
  •  悲哀的现实
    2021-02-12 14:03

    How about this:

    select id, first, last from mytable
    where first != upper(first) or last != upper(last);
    

提交回复
热议问题