Hi Friends,
I have a view that pulls millions of records and am creating a Cognos package with that view. The view pulls data from multiple tables and uses year in the where condition as the tables are huge. So my user wants me to create a package for every year as we cannot remove the where condition. If we remove it, the query hangs. I am trying to automate it somehow but am not getting any idea. Has anyone gone through this issue and found any solution. Please give me some directions.I dont think i can use parameter maps, session parameters or bind variables.
Thanks,
Sakthi
I would try removing the where condition from the view and adding a prompt macro for year.
Thanks for the reply Flynn.
The problem is this view will be created in the database. The view will not compile with macros in it. It will give error like "Invalid character"
Quote from: sakthi123 on 04 Nov 2015 08:28:43 AM
Thanks for the reply Flynn.
The problem is this view will be created in the database. The view will not compile with macros in it. It will give error like "Invalid character"
The prompt macro would go in the Framework, not on the view.
Thanks Lynn. It worked. You nailed it. I really appreciate it