Author Topic: execute SQL query from cognos sdk  (Read 464 times)

Offline deepak

  • Full Member
  • ***
  • Posts: 6
  • Forum Citizenship: +0/-0
execute SQL query from cognos sdk
« on: 11 Jul 2011 08: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!

Offline bpetty

  • Full Member
  • ***
  • Posts: 20
  • Forum Citizenship: +0/-0
Re: execute SQL query from cognos sdk
« Reply #1 on: 03 Nov 2011 09: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.