dbTalk Databases Forums  

DTS package execution

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


Discuss DTS package execution in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dimitris Nikolakakis
 
Posts: n/a

Default DTS package execution - 06-23-2006 , 07:37 AM






I have two DBs and I have created a DTS package to import data from one to
another DB and I have saved it in SQL (Data
Transformation Services --> Local Packages).

Is there any way to execute it from Query Analyzer?

Thanks
Dimitris



Reply With Quote
  #2  
Old   
Brian R
 
Posts: n/a

Default Re: DTS package execution - 06-24-2006 , 02:45 PM






The most obvious way is to use
exec master.dbo.xp_cmdshell 'DTSRUN ..........' with all the parameters.

Use the package DTSRUNUI.exe to easily find the dos command string you need.

Alternatively schedule the package (right click on it and schedule). Go to
the Job and copy and paste the DTSRUN statement to the XP_CMDSHELL above.
(Only it will give you the encrypted version - works OK - you just cannot
read it.)

--
Brian Reincke
Parity Training
Lonbdon


"Dimitris Nikolakakis" <dn (AT) hol (DOT) gr> wrote

Quote:
I have two DBs and I have created a DTS package to import data from one to
another DB and I have saved it in SQL (Data
Transformation Services --> Local Packages).

Is there any way to execute it from Query Analyzer?

Thanks
Dimitris




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.