Documentation forDatabase Performance Analyzer

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.

  1. In the chart legend, click the hash value that represents the SQL statement.

    The Query Details page displays information about the SQL statement.

  2. In the upper-right corner, click SQL Properties.
  3. In the SQL Properties dialog, enter the name.

  4. Click Save.

  5. 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.