Innovative Systems Private Limited

Oracle Fusion Resources

How to get OTBI logical SQL in Oracle Fusion

Open an OTBI analysis for editing, select Advanced, and copy the statement under SQL Issued. This is the logical request that Oracle Analytics uses to run your analysis.

Before you start

Use an account that can edit the analysis and access the Advanced tab. Oracle reserves this tab for users with the appropriate reporting responsibilities. The New Analysis option requires administrator privileges.

Copy the logical SQL from an existing analysis

  1. Open the Oracle Fusion reporting catalog and find your analysis.
  2. Choose Edit, then open Advanced in the analysis editor.
  3. Copy the read-only SQL Issued text. Record the analysis path and filters alongside it so the statement has context.

Understand what the statement contains

Logical SQL references the subject areas and presentation columns available to the analysis. Use it to inspect column selections, expressions, and filters. The BI Server resolves that request using its metadata and applies Fusion security as it produces database SQL.

Why might two users see different results?

When investigating a discrepancy, compare the analysis version, selected prompts and filters, and the users' data access. Capture the same run conditions before comparing result counts. Review performance and security with your reporting administrator.

Can I convert logical SQL into physical SQL?

The physical request depends on BI Server metadata and the runtime request. To inspect what ran, follow the physical SQL and query log guide. Keep the request time and user so an administrator can locate it.

Troubleshoot the Advanced tab

Explore subject areas in QueryBridge

Open OTBI Subject Areas for your Fusion connection, choose a subject area available to you, and select columns to review their logical SQL. For analysis design and performance guidance, see Oracle Fusion OTBI reporting.

Oracle documentation

Explore QueryBridge

QueryBridge provides a desktop workspace for writing Fusion SQL, exploring OTBI subject areas and logical SQL, and accessing audit reports. See the QueryBridge reporting workspace or request a demo.