我需要一种在 Oracle 10g 中将列值转换为 CamelCase 的方法。我希望能够在我的选择语句中进行内联,但如果必须使用函数,也可以。
我不需要支持下划线,只需要支持空格。
谢谢
我需要一种在 Oracle 10g 中将列值转换为 CamelCase 的方法。我希望能够在我的选择语句中进行内联,但如果必须使用函数,也可以。
我不需要支持下划线,只需要支持空格。
谢谢
这不是我对驼峰命名法的理解
select substr(lower('Camel Case means the first char should be lower cased'),1,1)||substr(replace(initcap('Camel Case means the first char should be lower cased'),' '),2) from dual;
camelCaseMeansTheFirstCharShouldBeLowerCased
1 row selected.