dbTalk Databases Forums  

Running dtsx package from the command line

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


Discuss Running dtsx package from the command line in the microsoft.public.sqlserver.dts forum.



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

Default Running dtsx package from the command line - 07-04-2006 , 07:21 PM






Hi All,

I am trying to run a dtsx from the command line and pass a value to a user
variable. Anyone know how to do this?


Cheers

Mark

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

Default Re: Running dtsx package from the command line - 07-05-2006 , 02:17 PM






Hello Mark,

Have you taken a look at DTExecUI. This will build the command line for you.

But it will look something like

/SET \package\DataFlowTask.Variables[User::MyVariable].Properties[Value];newValue


From BOL

ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/sqlcmpt9/html/89edab2d-fb38-4e86-a61e-38621a214154.htm


Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com

Quote:
Hi All,

I am trying to run a dtsx from the command line and pass a value to a
user variable. Anyone know how to do this?

Cheers

Mark




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.