Selecting all columns and constant value from Oracle table Selecting all columns and constant value from Oracle table sql sql

Selecting all columns and constant value from Oracle table


See this tutorial: Select constant as a Column

Select *,5 as "ConstColumn" From TableA;


Try,

Select TableA.*, 5 as "ColumnAlias" From TableA


I don't think this is really possible, because the * character is not a replacing content.I get back this error: ORA-00923