How to use ownersid column value of sysdtspackages90 system table

  • Does someone know which system table or system view can be used to link with the ownersid column of sysdtspackages90 to identify the creator of an SSIS package.

    Example:

    SELECT *

    FROM msdb.dbo.sysusers

    WHERE sid = (SELECT ownersid

    FROM msdb.dbo.sysdtspackages90

    WHERE name = 'SSIS_Package_Name')

    The subquery returns a value.

    But the main query does not.

    Thanks

  • SELECT

    name, description,suser_sname(ownersid)

    FROM

    msdb.dbo.sysdtspackages90

    Try the above code from http://sqlblogcasts.com/blogs/acalvett/.

    MJ

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

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