Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Summary

The Show SQL option on the SQL Macro and SQL-query Macro allow the SQL source to be displayed after the result data. This this helpful for problem determination. It also provides a way for users to copy the SQL for use in a slightly different query. With Release 6.4, there are new options for controlling how the code is displayed. The SQL is normally displayed with the default code macro. The new Options for showing SQL code (showSqlOptions) parameter allows you to enter a list of macro parameters that will be applied to the code macro. More over, if you have the Code Pro Macro macro installed, you can use the those parameters as well. 

Example

This uses the more advanced code-pro parameters that shows the source in a collapsed section.

Image Removed

After clicking on SQL:

Image Removed

Include Page
SUPPORT:How to improve the display of SQL source - 8.x
SUPPORT:How to improve the display of SQL source - 8.x