COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: anjidwh.cognos on 19 Jan 2014 11:56:10 AM

Title: how to use datatime prompt parameter in sql object
Post by: anjidwh.cognos on 19 Jan 2014 11:56:10 AM
Hi,

I have a ?.... In my report i have datetime prompt, i am using this prompt parameter in SQL object on "recieved_date" column, which is having timestamp value.

To filter data based on timestamp values, i am using "to_date(#prompt('parameter')#,'yyyy-mm-dd hh:mi:ss')" macro on "recieved_date" column. But it is not accepting the parameter value.

Can anybody help me out.........Appriciated ur help!!

Thanks,
SR