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

问题描述 投票:1回答:3

我创建了一个视图,其列名大写,所以如何将列名从大写转换为驼峰大小写?

sql oracle
3个回答
0
投票

您可以使用initcap功能。例如

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

谢谢。


0
投票

使用initcap

select initcap(columnname) from table_name

0
投票
SELECT INITCAP( string1 ) from dual;

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

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

© www.soinside.com 2019 - 2024. All rights reserved.