WITH T AS (
SELECT 'DATA_MANAGE_ITEM' TXT FROM DUAL
)
SELECT REPLACE(INITCAP(TXT),'_','') V FROM T
by 최사원
[2018.06.02 22:58:36]
WITH T AS (
SELECT 'DATA_MANAGE_ITEM' TXT FROM DUAL
)
SELECT REPLACE(LOWER(SUBSTR(TXT,1,INSTR(TXT,'_'))) || INITCAP(SUBSTR(TXT,INSTR(TXT,'_')+1)),'_','') V FROM T
;
2번째부터 앞글자 대문자
by 마농
[2018.06.04 08:33:31]
SUBSTR(REPLACE(INITCAP('a' || txt), '_'), 2) v
댓글등록
SQL문을 포맷에 맞게(깔끔하게) 등록하려면 code() 버튼을 클릭하여 작성 하시면 됩니다.