Monday, March 26, 2012

Running a DTS with parameters

Hi
Does anyone know if there is a possibility to run a DTS with parameters ?
David GreenbergDavid Greenberg wrote:

Quote:

Originally Posted by

Hi
Does anyone know if there is a possibility to run a DTS with parameters ?
David Greenberg


Yes. Usually parameters are passed via global variables when the
package is executed. For example using the dtsrun utility from the
command line, or from an Execute Package task or using the COM Package
object.

Some examples at:
http://www.sqldts.com/default.aspx?104
--
David Portas, SQL Server MVP

Whenever possible please post enough code to reproduce your problem.
Including CREATE TABLE and INSERT statements usually helps.
State what version of SQL Server you are using and specify the content
of any error messages.

SQL Server Books Online:
http://msdn2.microsoft.com/library/...US,SQL.90).aspx
--

No comments:

Post a Comment