Name SQL statements
On the right side of each DPA Trends chart, a legend identifies each SQL statement. By default, SQL statements are identified by their hash values.
When you are investigating a SQL statement, naming it makes 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 upper-right corner, click SQL Properties.
-
In the SQL Properties dialog, enter the name.
-
Click Save.
-
In the upper-left corner of the Query Details page, click Back to go back to the previous page.
The legend displays the name instead of the hash value.
The colors that represent the SQL statements on the chart might change after you name the SQL statement.