Name SQL statements
On the right side of each DPA trend chart, a legend identifies each SQL statement. By default, SQL statements are identified by their hash values.
When you are investigating a specific SQL statement, you can give it a name to make it easier to identify. The name appears in reports and chart legends.
In the chart legend, click the hash value that represents the SQL statement.
The Query Details page displays information about the SQL statement.
- In the top-right corner, click SQL Properties.
In the SQL Properties dialog, enter the name.
In the upper-left corner of the Query Detail page, click Back to return to the previous page.
The legend displays the name instead of the hash value.
The colors representing the SQL statements on the chart might change after you name the SQL statement.