COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => SDK => Topic started by: deepak on 11 Jul 2011 09:37:50 AM

Title: execute SQL query from cognos sdk
Post by: deepak on 11 Jul 2011 09:37:50 AM
I'm using Cognos-8 SDK to write the customize report writing program.

Can someone please guide me how to run SQL queries form SDK to generate the report?

Thanks!
Title: Re: execute SQL query from cognos sdk
Post by: bpetty on 03 Nov 2011 10:04:57 AM
You want to write a custom report designer?  If so, it has nothing to do with SQL queries.  The Cognos SDK comes with some documentation on their Report Specification markup.  We have some "auto" report authoring functionality in our application and it is really nothing more than writing XML and importing it into the Content Store via the SDK.  The only queries involved are those used in the report for custom Data Query Subjects to bypass your model (if you do that kind of thing)... but again, it is still wrapped in XML.