Capturing a query

Report Studio is a tool for a wide audience—right from business users, management personnel, and analysts, to the pure technical report writers. If you are a technical person who understands the SQL/MDX being fired on the database, you certainly want to examine one to optimize the report performance and sometimes to merely ensure that everything is fine.

This recipe will look at the right ways to capture the query fired on a data source.

Getting ready

We will use the list report created in the previous recipe for this recipe.

How to do it...

In this recipe we will learn how to extract the SQL/MDX query generated for a report. To do this, perform the following steps:

  1. Open the report in IBM Cognos Report Studio.
  2. Go to Query Explorer

Get IBM Cognos 10 Report Studio Cookbook - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.