标签:money ini cap regex acl upper 划线 substr reg
oracle下划线转驼峰
select substr(replace(initcap(‘a‘ || ‘t_sys_user‘), ‘_‘, ‘‘), 2) from dual;
驼峰转下划线
select regexp_replace(‘tSysUser‘, ‘([[:upper:]])(.)‘, ‘_\1\2‘) "initCustMoney",
regexp_replace(‘userId‘, ‘([[:upper:]])(.)‘, ‘_\1\2‘) "custID"
from dual;
标签:money ini cap regex acl upper 划线 substr reg
原文地址:https://www.cnblogs.com/dwt520/p/12725888.html