Is there a way to add specific custom columns/messages before the columns selected using * columns? This works fine.
select * , 'User_Msg_1' from rrc;
whereas i need something like this
select 'User_Msg_1', * from rrc;
Is there a way to add specific custom columns/messages before the columns selected using * columns? This works fine.
select * , 'User_Msg_1' from rrc;
whereas i need something like this
select 'User_Msg_1', * from rrc;
Use rrc.*
:
SELECT 'User_Msg_1', rrc.* FROM rrc;
or make a cartesian product on the relation {("User_Msg_1")}:
SELECT * FROM (SELECT 'User_Msg_1' FROM DUAL), rrc