The '[Rule name] - Generated SQL' modeless dialog allows you to view the SQL that will be executed on running a rule.
The feature is protected by the Selection Rule – Standard – View Generated SQL functional permission.
The dialog contains the following:
• Query tab: shown by default, this tab displays a formatted, read-only representation of the rule's SQL.
• Query (Raw) tab: this tab shows the same information in an unformatted style.
• OK: clicking this button closes the dialog.