Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Query for find bdetails for Job Name - Enabled - Schedule of job Expand / Collapse
Author
Message
Posted Saturday, February 9, 2013 7:38 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Monday, October 27, 2014 2:05 AM
Points: 73, Visits: 267
I want to write a query to find below details of jobs



Job Name - Enabled - Schedule of job



if job is having more than one schedule it should come in different rows
Post #1418016
Posted Saturday, February 9, 2013 2:12 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Tuesday, October 28, 2014 10:01 AM
Points: 7,127, Visits: 12,731
Look in msdb for tables dbo.sysjobs, dbo.sysjobschedules and dbo.sysschedules. Those three have what you need.

__________________________________________________________________________________________________
There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
Post #1418049
Posted Sunday, February 10, 2013 3:20 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Monday, October 27, 2014 2:05 AM
Points: 73, Visits: 267
Thank you...
Post #1418092
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse