Submit a ticketCall us

AnnouncementsFace your biggest database issues head-on

Our new eCourse helps you navigate SQL Server performance blocks by teaching you how to recognize and deal with the three DBA Disruptors: Performance Hog, Blame Shifter, and Query Blocker. Register today to learn how to defend your environment and fend off menacing disruptions.

Register for your free eCourse.

Home > Success Center > Database Performance Analyzer (DPA) > DPA Documentation > DPA 12.0 Administrator Guide > Monitor database instances > Name a SQL statement

Name a SQL statement

Table of contents
No headers

Updated: August 24, 2018

On the right side of each 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.

  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 top-right corner, click SQL Properties.
  3. In the SQL Properties dialog, enter the name.

    GS-name-SQL-properties.png

  4. Click Save.

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

    gs-investigate-name-sql.png

Last modified

Tags

Classifications

Public