Submit a ticketCall us

Don’t fall victim to a ransomware attack
Backups are helpful, but sometimes that’s not enough to protect your business against ransomware. At our live webcast we will discuss how to protect against ransomware attacks with SolarWinds® Patch Manager and how to leverage log data to detect ransomware. Register now for our live webcast.

Home > Success Center > Database Performance Analyzer (DPA) > Determine SQL Server job name in DPA

Determine SQL Server job name in DPA

Table of contents
Created by Interspire Import, last modified by MindTouch on Jun 23, 2016

Views: 41 Votes: 0 Revisions: 9

Overview

This article describes how to determine the SQL Server job name in DPA. When DPA shows a database job executing, it collects the program_name column data from dm_exec_requests and displays it in the Program tab but does not display the job name.

Environment

All DPA versions

Steps

  1. Copy the program_name value shown in the program tab. For example:
    SQLAgent - TSQL JobStep (Job 0x133C6F2E2C29DB4B8221533B3D6B728B : Step 1)
  2. Run the following query:
    select * from msdb..sysjobs where job_id = 0x133C6F2E2C29DB4B8221533B3D6B728B
    Note: There are no quotes around that job_id value. The 0x in front of the job_id tells SQL Server to convert it to a hex value which then matches with the sysjobs table.

     
Last modified
19:08, 22 Jun 2016

Tags

Classifications

Public