Generated SQL Dialog
The '[Rule name] - Generated SQL' modeless dialog allows you to view the SQL that will be executed on running a rule.
![](../__attachments/3861807204/att_2_for_3861807204.png?inst-v=2845edaa-e6e3-43f5-9228-1f7e2ed76e18)
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.