简体   繁体   中英

How to convert view column name from upper case to camel case?

我已经创建了一个视图,并且其列名是大写的,那么如何将列名从大写转换为驼峰呢?

You may use initcap function. eg

select initcap('your text here') from dual;

Thanks.

使用initcap

select initcap(columnname) from table_name
SELECT INITCAP( string1 ) from dual;

INITCAP( string1 ) may give you desired result.

https://www.techonthenet.com/oracle/functions/initcap.php

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM