dbTalk Databases Forums  

DTS packages-input and uotput file location

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


Discuss DTS packages-input and uotput file location in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Matthew Z
 
Posts: n/a

Default DTS packages-input and uotput file location - 08-19-2005 , 12:01 PM






Hi ,

I have some DTS packages to transfer data from text files on different
computers to SQL server tavles. Now I need information about these package
name, the source of the text files and output tables, I want to have table to
hole all these data. I am sure there is a way to do it. I looked
MSDB.sysTDSpackages and other related tables, but I still don't get the data
I need , any one here knows where are the DTS source and destinition
information stored?
Thanks .

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: DTS packages-input and uotput file location - 08-19-2005 , 05:20 PM






Yep it is stored inside the packages.

You can use the Object Model to get the info you need.

open a package
Loop through the Connections collection (get their details + IDs)
look through the tasks and you can then use things like SourceConnectionID,
DestinationConnectionID


Allan


"Matthew Z" <MatthewZ (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi ,

I have some DTS packages to transfer data from text files on different
computers to SQL server tavles. Now I need information about these package
name, the source of the text files and output tables, I want to have table
to
hole all these data. I am sure there is a way to do it. I looked
MSDB.sysTDSpackages and other related tables, but I still don't get the
data
I need , any one here knows where are the DTS source and destinition
information stored?
Thanks .



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.