oracle下划线转驼峰
select substr(replace(initcap('a' || 't_sys_user'), '_', ''), 2) from dual;
驼峰转下划线
select regexp_replace('tSysUser', '([[:upper:]])(.)', '_12') "initCustMoney",
regexp_replace('userId', '([[:upper:]])(.)', '_12') "custID"
from dual;
oracle下划线转驼峰
select substr(replace(initcap('a' || 't_sys_user'), '_', ''), 2) from dual;
驼峰转下划线
select regexp_replace('tSysUser', '([[:upper:]])(.)', '_12') "initCustMoney",
regexp_replace('userId', '([[:upper:]])(.)', '_12') "custID"
from dual;