dbTalk Databases Forums  

Pass variables to a DTS

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


Discuss Pass variables to a DTS in the microsoft.public.sqlserver.dts forum.



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

Default Pass variables to a DTS - 10-06-2003 , 05:07 PM






Hello,

I want to know if I can pass variables to a DTS. I call my
DTS with this:

exec master.dbo.xp_cmdshell 'DTSRun /S
salmarjo /N "Genera_Archivo_Clasificados" /E'

I need to pass some variables to this DTS. Could I do that?

Regards,
Oswaldo

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

Default Re: Pass variables to a DTS - 10-07-2003 , 12:39 AM






If you are using SQL Server 2000 look at the /A switch.

--
--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org

"Oswaldo" <jmendieta (AT) comercio (DOT) com.pe> wrote

Quote:
Hello,

I want to know if I can pass variables to a DTS. I call my
DTS with this:

exec master.dbo.xp_cmdshell 'DTSRun /S
salmarjo /N "Genera_Archivo_Clasificados" /E'

I need to pass some variables to this DTS. Could I do that?

Regards,
Oswaldo



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.