Professional Documents
Culture Documents
SQL Query Extractor
SQL Query Extractor
_afrLoop=219043308112689&id=1902667.1&_afrWindowMode=0&_adf.ctrlstate=d02jxztig_302
Applies to:
Business Intelligence Server Enterprise Edition - Version 11.1.1.6.0 and later
Information in this document applies to any platform.
Goal
Unable to see the physical SQL in a particular report. Can see logical query, but not the physical
query. How can the physical query created from an analysis in OBIEE be seen?
Solution
The physical query should be seen in the NQQuery.log or the session log, however it is not
always seen there. One method to obtain the physical SQL (ie. the 'Sending query to database'
part of the log) for an individual Analysis is:
1. Log into OBIEE as an administrator user.
2. Open the analysis in Answers.
3. Move to the Advanced tab.
4. Enter the following in the Prefix box at the bottom of the screen:
o