Sometimes, when creating Ad Hoc views via Advance Reporting, we want to take at look at the query being created. We see that the button 'View SQL Query' is shown in the Ad Hoc Editor, but that it's disabled by default. How can we enable this feature?
<Please see attached file for image>
To enable the the functionality of the 'View SQL Query' button, take these steps
Login directly to your Advanced Reporting server using the superuser account at http://<report_server_url>:8080/reportservice
Navigate to the Manage tab and click on Server Settings
In the Server Settings, click on Ad Hoc Settings
Under the Ad Hoc Settings, check on the 'Enable View Query in Ad Hoc Editor' box and use the Change button to have the change take effect
<Please see attached file for image>
After applying the change, navigate back to your Ad Hoc Editor and you'll see that the 'View SQL Query' button in the Ad Hoc View Editor is now enabled.
<Please see attached file for image>