Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DTS issue with Cursor fetch status

Status
Not open for further replies.

xaq98

Programmer
Feb 11, 2004
1
US
I have a DTS package with several transformation steps and execute SQL steps. If I run the package one step at a time it runs fine. If I run it as a package one of the Execute SQL steps with a cursor runs differently. I inserted the fetch status from this step into a table and found it was starting off with a fetch status of -1 so the cursor would end with no data being processed. If I run the step manually, it processes all the records. All the steps in the package run sequentially. Plus the step in question only has one cursor in it. This step is set to Commit on completion of the step. Why does the package run differently if run as a whole verses running each step individually.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top