如何将视图列名称从大写转换为驼峰式?

时间:2019-04-03 05:28:28

标签: sql oracle

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

3 个答案:

答案 0 :(得分:0)

您可以使用initcap函数。例如

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

谢谢。

答案 1 :(得分:0)

使用initcap

select initcap(columnname) from table_name

答案 2 :(得分:0)

SELECT INITCAP( string1 ) from dual;

INITCAP(string1)可能会给您想要的结果。

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

相关问题