Discovering Job Owners

  • Hello,

    Are there system tables/procs in the MSDB database that contain data on the owner of SQL Server 2000 Jobs in the form of the the owners domain\login (or just login)?  I've checked BOL, Google, and have skimmed through the system procs and tables, but I have not come across anything obvious.

    Thank you for your help!

    CSDunn

  • this should do it

    SELECT j.NAME,l.name FROM msdb..sysjobs J

    INNER JOIN master..syslogins l ON j.owner_sid = l.sid

  • That's it! Thanks!

    CSDunn

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply