加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

Oracle 大小写转换函数实例详解

发布时间:2020-12-12 17:07:53 所属栏目:百科 来源:网络整理
导读:Oracle 大小写转换函数 小写转大写UPPer 大写转小写LOWER 例: --是否包含字母(大写和小写) select case when regexp_like('123','.([a-z]+|[A-Z])') then '包含字母' else '不包含字母' end from dual; --是否包含小写字母 select case when regexp_like(

Oracle 大小写转换函数


小写转大写UPPer

大写转小写LOWER

例:

--是否包含字母(大写和小写)
select case when regexp_like('123','.([a-z]+|[A-Z])') then '包含字母' else '不包含字母' end from dual;

--是否包含小写字母
select case when regexp_like('S','[a-z]') then '包含小写字母' else '不包含小字母' end from dual;

--是否包含大写写字母
select case when regexp_like('行行s行','[A-Z]') then '包含大写字母' else '不包含大字母' end from dual;

--是否包含小写字母
select '包含小写' from dual where regexp_like('C','[a-z]');

感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读