![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Is there a way I can pass on variables from a stored procedure to a DTS-package. I prefer to run this DTS-package as a job because of policy's by the customer. Thanks in advance. |
#3
| |||
| |||
|
|
Something like this? Global Variables and Stored Procedure Parameters (http://www.sqldts.com/default.aspx?234) -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. www.SQLIS.com - You thought DTS was good. here we show you the new stuff. www.konesans.com - Consultancy from the people who know "Chris Plenter" <ChrisPlenter (AT) discussions (DOT) microsoft.com> wrote in message news:CC000A98-1678-4C94-9C65-B16A88052566 (AT) microsoft (DOT) com... Is there a way I can pass on variables from a stored procedure to a DTS-package. I prefer to run this DTS-package as a job because of policy's by the customer. Thanks in advance. |
#4
| |||
| |||
|
|
No, this is passing variables into stored procedures. I want to start a job using the command 'MSDB.dbo.sp_start_job @jobname'. This job will run a DTS-package. I want to set a global variable in this DTS passed trough by T-SQL. Best option I have now I think is just setting a value in the database by T-SQL and read it out with DTS when configuring global variables. But if you have any other suggestions I would appreciate if you let me know. Best regards, Chris "Allan Mitchell" wrote: Something like this? Global Variables and Stored Procedure Parameters (http://www.sqldts.com/default.aspx?234) -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. www.SQLIS.com - You thought DTS was good. here we show you the new stuff. www.konesans.com - Consultancy from the people who know "Chris Plenter" <ChrisPlenter (AT) discussions (DOT) microsoft.com> wrote in message news:CC000A98-1678-4C94-9C65-B16A88052566 (AT) microsoft (DOT) com... Is there a way I can pass on variables from a stored procedure to a DTS-package. I prefer to run this DTS-package as a job because of policy's by the customer. Thanks in advance. |
#5
| |||
| |||
|
|
Is there a way I can pass on variables from a stored procedure to a DTS-package. I prefer to run this DTS-package as a job because of policy's by the customer. Thanks in advance. |
![]() |
| Thread Tools | |
| Display Modes | |
| |