数据库的表名,字段命名一般用下划线分隔,在编程时一般使用的是驼峰命名
--首字母大写
select REPLACE(INITCAP('first_second_three'),'_','') from dual;
--首字母小写
select lower(substr('first_second_three',1,1)) || substr(REPLACE(INITCAP('first_second_three'),'_',''),2) from dual;
数据库的表名,字段命名一般用下划线分隔,在编程时一般使用的是驼峰命名
--首字母大写
select REPLACE(INITCAP('first_second_three'),'_','') from dual;
--首字母小写
select lower(substr('first_second_three',1,1)) || substr(REPLACE(INITCAP('first_second_three'),'_',''),2) from dual;