SQL Server Job simple to use

Source: Internet
Author: User
Tags management studio sql server management sql server management studio

--querying for those jobs is disabledSELECTjob_id, name, enabled fromMsdb.dbo.sysjobswhereEnabled= 0--Common Job TableSELECT *  fromMsdb.dbo.sysjobs--store information for individual scheduled jobs that will be executed by SQL Server AgentSELECT *  fromMsdb.dbo.sysjobsteps;--contains information for each step in the job that SQL Server agent will performSELECT *  fromMsdb.dbo.sysjobhistory--contains information about SQL Server Agent execution of scheduled jobsSELECT *  fromMsdb.dbo.sysjobstepslogs;--job step log that contains all SQL Server agent job stepsSELECT *  fromMsdb.dbo.sysjobschedules--contains schedule information for jobs that will be executed by SQL Server AgentSELECT *  frommsdb.dbo.sysjobactivity;--log Current SQL Server Agent job activity and statusSELECT *  fromMsdb.dbo.sysjobservers--to store the association or relationship of a specific job with one or more target serversSELECT *  fromMsdb.dbo.sysjobs_view;--SELECT *  fromMsdb.dbo.syscategories--contains categories used by SQL Server Management Studio to organize jobs, alerts, and operators

SQL Server Job simple to use

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.