Export (0) Print
Expand All

View a Job

 

This topic describes how to view Microsoft SQL Server Agent jobs in SQL Server 2016 by using SQL Server Management Studio or Transact-SQL.

In This Topic

To view a job

  1. In Object Explorer, connect to an instance of Database Engine.

  2. On the Standard bar, click New Query.

  3. Copy and paste the following example into the query window and click Execute.

    -- lists all aspects of the information for the job NightlyBackups.
    USE msdb ;
    GO
    
    EXEC dbo.sp_help_job
        @job_name = N'NightlyBackups',
        @job_aspect = N'ALL' ;
    GO
    

Arrow icon used with Back to Top linkBookmark link 'Top' is broken in topic '{"project_id":"7d6ffa79-2ddc-4606-b774-a6a5d46784cd","entity_id":"d2241a3f-dbcf-433c-b7bc-f96bdf0eac8c","entity_type":"Article","locale":"en-US"}'. Rebuilding the topic '{"project_id":"7d6ffa79-2ddc-4606-b774-a6a5d46784cd","entity_id":"d2241a3f-dbcf-433c-b7bc-f96bdf0eac8c","entity_type":"Article","locale":"en-US"}' may solve the problem.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft