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

Sql 如何将视图列名从大写转换为小写?,sql,oracle,Sql,Oracle,我已经创建了一个视图,它的列名是大写的,所以如何将列名从大写转换为驼峰格式?您可以使用initcap函数。e、 g select initcap('your text here') from dual; 谢谢。您可以使用initcap函数。e、 g select initcap('your text here') from dual; 谢谢。使用initcap select initcap(columnname) from table_name 使用initcap select initc

我已经创建了一个视图,它的列名是大写的,所以如何将列名从大写转换为驼峰格式?

您可以使用initcap函数。e、 g

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

谢谢。

您可以使用initcap函数。e、 g

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

谢谢。

使用
initcap

select initcap(columnname) from table_name

使用
initcap

select initcap(columnname) from table_name
INITCAP(string1)可能会给您提供所需的结果

INITCAP(string1)可能会给您提供所需的结果


可能重复的可能重复的感谢!您确定这会将表的列名更改为驼峰大小写吗?请输入您的列名和表名谢谢!您确定这会将表的列名更改为驼峰大小写吗?请输入列名和表名