Hello,
I was wondering if this at all possible to do. I am creating a cognos report using native sql. I would like to be able to have the user select the column during the run time to build the sql. For example, the user will type in customer_name (a field in customer table) for the prompt below. Obvioulsy, the following does not work. Is there a way to achieve this in Cognos? What I'm asking is to build a dynamic sql with the user input...
select * from Customer
where date = '31-jul-2013'
and #prompt('customer name:')# like ('A%')
Thanks in advance...
I was wondering if this at all possible to do. I am creating a cognos report using native sql. I would like to be able to have the user select the column during the run time to build the sql. For example, the user will type in customer_name (a field in customer table) for the prompt below. Obvioulsy, the following does not work. Is there a way to achieve this in Cognos? What I'm asking is to build a dynamic sql with the user input...
select * from Customer
where date = '31-jul-2013'
and #prompt('customer name:')# like ('A%')
Thanks in advance...