![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi! I have a very simple DTS Package but it's failing! First, there is an Execute SQL task that selects a short list of intentory item numbers from a small table. It puts the item numbers into an output parameter rowset global variable called rs_ItemIds Then there is a data transformation task which is supposed to move all the records for these individual inventory items from a table on one server to a table on another. In the Source table tab, I have the rowset set as a input parameter. The relevant part of the query says 'where Item_Number = ?' And, yes I do have parameter 1 mapped to the global variable parameter. And yes, I have both tasks running on the main thread. DTS Transform fails with a generic Access Violation error and a message that says "Need to run the object in order to perform this operation. I know, I should be able to do this using a simple SQL statement. But I can't set the source server up as a linked server, so I can't access it from a query on the destination server. All I'm trying to do is limit the rows I'm pulling across. Oh, when I change the global variable to a row item rather than a rowset, it works, adding just the one row. Any suggestions? Please help. Karen |
#3
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |