Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
MGouders
Starting Member
30 Posts |
Posted - 2009-10-19 : 17:45:27
|
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 |
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
MGouders
Starting Member
30 Posts |
Posted - 2009-10-19 : 18:27:24
|
Thanks for the InfoDo you also happen to know, what can be done, if the account is orphaned?Thanks |
 |
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
SreenivasBora
Posting Yak Master
164 Posts |
Posted - 2009-10-20 : 10:32:11
|
SELECT [dts].[name] [package_name], SUSER_SNAME([dts].[ownersid]) [package_owner],(select foldername from sysdtspackagefolders90 where folderid = dts.folderid) Foldername, createdateFROM [msdb].[dbo].[sysdtspackages90] [dts] ORDER BY [package_name]Run the Query and see....RegardsSRIWith RegardsBSR |
 |
|
|
|
|