I have report and one of the report parameter will be having the column name.
I am trying to use this value just like any other substitute variable (:P_DATE).
Select
col1,
col2,
sum(col3),
sum(col4)
from tab1
where cond1 = <>
group by col1
order by :P_FILTER_VALUE
Where the value...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.