[英]How to convert column value to CamelCase with Oracle?
我需要一種使用Oracle 10g將列值轉換為CamelCase的方法。 我更喜歡與select語句內聯,但是如果我必須使用一個函數,那也可以。
我不需要支持下划線,只需空格。
謝謝
那不是我對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.
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.