Quantcast
Channel: kristofdba – kristof dba
Viewing all articles
Browse latest Browse all 26

JOBS queries and susch

$
0
0

get the owner of the SQL jobs
In this example, only if the job is enabled!
select s.name,l.name
from msdb..sysjobs s
left join master.sys.syslogins l on s.owner_sid = l.sid
where enabled = 1



Viewing all articles
Browse latest Browse all 26

Trending Articles