Hi,
I am trying to build a list of all job/database owners on the server. In case the login gets access to SQL Server via group membership it does not have an entry in syslogins table and I can't join to that table. Sysjobs table only has owner's sid. How do I query the owner name when the login is not in the syslogins table using TSQL?
Thanks.