In MSSQL I can select a column and change the column header by doing:
SELECT mycolumn as 'MyNewColumnName' from MyTable
This doesn't work in Oracle. How do I perform the same thing in Oracle?
Remove single quotation marks
SELECT mycolumn as MyNewColumnName from MyTable
Enclose alias in double quotation marks
SELECT mycolumn as "MyNewColumnName" from MyTable
1.4m articles
1.4m replys
5 comments
57.0k users