![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, I want to write the results of a stored procedure to a text file in active x task in dts. I have the code to write the text file but what I need is an example of executing a stored procedure with a parameter and the results writing to a text file. The parameterin question comes from the package globa variable. Thanks in advance for your help. Gary |
#3
| |||
| |||
|
|
Why do you need to do this in an Active Script task? A stored proc + param can act as the source to a datapump task. You could try this article Global Variables and Stored Procedure Parameters (http://www.sqldts.com/default.aspx?234) Allan "Gary" <Gary (AT) discussions (DOT) microsoft.com> wrote in message news 18D9B58-4148-419C-A77B-FF2FAC1A551E (AT) microsoft (DOT) com:Hello, I want to write the results of a stored procedure to a text file in active x task in dts. I have the code to write the text file but what I need is an example of executing a stored procedure with a parameter and the results writing to a text file. The parameterin question comes from the package globa variable. Thanks in advance for your help. Gary |
#4
| |||
| |||
|
|
Hello, I want to write the results of a stored procedure to a text file in active x task in dts. I have the code to write the text file but what I need is an example of executing a stored procedure with a parameter and the results writing to a text file. The parameterin question comes from the package globa variable. Thanks in advance for your help. Gary |
#5
| |||
| |||
|
|
I appreciate your reply but the website and page you posted do not address my question. "Allan Mitchell" wrote: Why do you need to do this in an Active Script task? A stored proc + param can act as the source to a datapump task. You could try this article Global Variables and Stored Procedure Parameters (http://www.sqldts.com/default.aspx?234) Allan "Gary" <Gary (AT) discussions (DOT) microsoft.com> wrote in message news 18D9B58-4148-419C-A77B-FF2FAC1A551E (AT) microsoft (DOT) com:Hello, I want to write the results of a stored procedure to a text file in active x task in dts. I have the code to write the text file but what I need is an example of executing a stored procedure with a parameter and the results writing to a text file. The parameterin question comes from the package globa variable. Thanks in advance for your help. Gary |
![]() |
| Thread Tools | |
| Display Modes | |
| |