dbTalk Databases Forums  

Re: DTS Connection Login

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Re: DTS Connection Login in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: DTS Connection Login - 09-22-2004 , 04:31 PM






In article <A06F81AD-3496-4C1A-AA11-650D5E07BB1E (AT) microsoft (DOT) com>, JaneDoe wrote:
Quote:
I need to find all DTS packages that use 'sa' as the connection login.
Rather than going into each one (there are 1000's), is there a way to get
this information from the system tables?

Thank you,
Michelle Vairo

Short answer is no. DTS packages are stored as binary objects.

You can though use the object model to open each package and iterate through
the connections collection to find out the username




--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.konesans.com - Consultancy from the people who know





Reply With Quote
  #2  
Old   
JaneDoe
 
Posts: n/a

Default Re: DTS Connection Login - 09-23-2004 , 08:47 AM






Thank you, Allan. Where can I find information on using the object model?
I'm not sure what you mean.

Thanks,
Michelle

"Allan Mitchell" wrote:

Quote:
In article <A06F81AD-3496-4C1A-AA11-650D5E07BB1E (AT) microsoft (DOT) com>, JaneDoe wrote:
I need to find all DTS packages that use 'sa' as the connection login.
Rather than going into each one (there are 1000's), is there a way to get
this information from the system tables?

Thank you,
Michelle Vairo


Short answer is no. DTS packages are stored as binary objects.

You can though use the object model to open each package and iterate through
the connections collection to find out the username




--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.konesans.com - Consultancy from the people who know





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.