![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi everybody, I use DTS from SQL Server 2000 P3 Does anybody know/have any recommendations on how to capture a number of processed rows from transformation task? I need it for logging purposes. Thank you, Alex. |
#3
| |||
| |||
|
|
At the end of the task you can use an Active Script task and get the following properties of the task RowsComplete RowsInError allan "Alex Prints" <AlexPrints (AT) discussions (DOT) microsoft.com> wrote in message news:AC195965-C9BA-4630-8924-F085760863CD (AT) microsoft (DOT) com: Hi everybody, I use DTS from SQL Server 2000 P3 Does anybody know/have any recommendations on how to capture a number of processed rows from transformation task? I need it for logging purposes. Thank you, Alex. |
#4
| |||
| |||
|
|
Thank you Allan! It works. The only one thing. I want to pass the RowsComplete value to stored procedure. It looks like I can do it in 2 steps only. 1. Capture the RowsComplete value into the global variable (ActiveX task). 2. Run stored procedure which accepts an input parameter from global variable (Execute SQL task). Is there an easier way to do that?? Thanks, Alex. "Allan Mitchell" wrote: At the end of the task you can use an Active Script task and get the following properties of the task RowsComplete RowsInError allan "Alex Prints" <AlexPrints (AT) discussions (DOT) microsoft.com> wrote in message news:AC195965-C9BA-4630-8924-F085760863CD (AT) microsoft (DOT) com: Hi everybody, I use DTS from SQL Server 2000 P3 Does anybody know/have any recommendations on how to capture a number of processed rows from transformation task? I need it for logging purposes. Thank you, Alex. |
#5
| |||
| |||
|
|
Thank you Allan! It works. The only one thing. I want to pass the RowsComplete value to stored procedure. It looks like I can do it in 2 steps only. 1. Capture the RowsComplete value into the global variable (ActiveX task). 2. Run stored procedure which accepts an input parameter from global variable (Execute SQL task). Is there an easier way to do that?? Thanks, Alex. "Allan Mitchell" wrote: At the end of the task you can use an Active Script task and get the following properties of the task RowsComplete RowsInError allan "Alex Prints" <AlexPrints (AT) discussions (DOT) microsoft.com> wrote in message news:AC195965-C9BA-4630-8924-F085760863CD (AT) microsoft (DOT) com: Hi everybody, I use DTS from SQL Server 2000 P3 Does anybody know/have any recommendations on how to capture a number of processed rows from transformation task? I need it for logging purposes. Thank you, Alex. |
#6
| |||
| |||
|
|
Also it took me a while to find the name of the task ("DTSTask_DTSDataPumpTask_1") and I don't see any way to edit it in the GUI. Is it possible to edit it?? "Alex Prints" wrote: Thank you Allan! It works. The only one thing. I want to pass the RowsComplete value to stored procedure. It looks like I can do it in 2 steps only. 1. Capture the RowsComplete value into the global variable (ActiveX task). 2. Run stored procedure which accepts an input parameter from global variable (Execute SQL task). Is there an easier way to do that?? Thanks, Alex. "Allan Mitchell" wrote: At the end of the task you can use an Active Script task and get the following properties of the task RowsComplete RowsInError allan "Alex Prints" <AlexPrints (AT) discussions (DOT) microsoft.com> wrote in message news:AC195965-C9BA-4630-8924-F085760863CD (AT) microsoft (DOT) com: Hi everybody, I use DTS from SQL Server 2000 P3 Does anybody know/have any recommendations on how to capture a number of processed rows from transformation task? I need it for logging purposes. Thank you, Alex. |
#7
| |||
| |||
|
|
Ok So you can change it using disconnected edit (right click the designer surface) but if you do then make sure you change the associated TaskName property of the associated step as well. Allan "Alex Prints" <AlexPrints (AT) discussions (DOT) microsoft.com> wrote in message news 0F55E15-5717-42F9-B9C8-E80C3BF55C06 (AT) microsoft (DOT) com:Also it took me a while to find the name of the task ("DTSTask_DTSDataPumpTask_1") and I don't see any way to edit it in the GUI. Is it possible to edit it?? "Alex Prints" wrote: Thank you Allan! It works. The only one thing. I want to pass the RowsComplete value to stored procedure. It looks like I can do it in 2 steps only. 1. Capture the RowsComplete value into the global variable (ActiveX task). 2. Run stored procedure which accepts an input parameter from global variable (Execute SQL task). Is there an easier way to do that?? Thanks, Alex. "Allan Mitchell" wrote: At the end of the task you can use an Active Script task and get the following properties of the task RowsComplete RowsInError allan "Alex Prints" <AlexPrints (AT) discussions (DOT) microsoft.com> wrote in message news:AC195965-C9BA-4630-8924-F085760863CD (AT) microsoft (DOT) com: Hi everybody, I use DTS from SQL Server 2000 P3 Does anybody know/have any recommendations on how to capture a number of processed rows from transformation task? I need it for logging purposes. Thank you, Alex. |
![]() |
| Thread Tools | |
| Display Modes | |
| |