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
2.1m questions
2.1m answers
60 comments
57.0k users