set the value of AS clause name in stored procedure
is it possible to set the column heading within a stored procedure SELECT statement to the value of an input variable? For example using the stored procedure definition:
PROCEDURE sp_sample(IN ex_value CHAR(32))
BEGIN
SELECT some_col AS XXX ...
I want to assign the value passed in as ex_value to the column heading XXX
Subject
Views
Written By
Posted
set the value of AS clause name in stored procedure
1056
December 24, 2020 05:10PM
452
December 24, 2020 06:49PM
483
December 25, 2020 08:21AM
438
December 25, 2020 11:08AM
503
December 26, 2020 08:43AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.