Hello.
Just wondering if this can be done.....
basic example:
SELECT item, SUM(quantity) AS SUBST('200209', 5)
FROM blah
WHERE blah....etc.
Can I use a function (such as SUBSTR) in the alias for a column? The reason I ask is I must produce a report from an Oracle DB in PL/SQL where a series of column headers must be dynamically altered depending on the date the report is generated.
Thnx
Just wondering if this can be done.....
basic example:
SELECT item, SUM(quantity) AS SUBST('200209', 5)
FROM blah
WHERE blah....etc.
Can I use a function (such as SUBSTR) in the alias for a column? The reason I ask is I must produce a report from an Oracle DB in PL/SQL where a series of column headers must be dynamically altered depending on the date the report is generated.
Thnx