dbTalk Databases Forums  

Re: Roes Failed and Succeeded

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Re: Roes Failed and Succeeded in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Darren Green
 
Posts: n/a

Default Re: Roes Failed and Succeeded - 08-04-2004 , 10:30 AM






DTSGlobalVariables("GoodRows").Value = oDataPump.RowsComplete -
oDataPump.RowsInError

DTSGlobalVariables("BadRows").Value = oDataPump.RowsInError


DTSGlobalVariables("TotalRows").Value = oDataPump.RowsComplete

RowsComplete is all rows transferred, so this is also the total. RowsInError
is
the failed rows, so the good rows is the total less the errors.


--
Darren Green
http://www.sqldts.com

"Serghios (AT) community (DOT) nospam" <Serghios (AT) community (DOT) nospam
@discussions.microsoft.com> wrote

Quote:
Hi,

I am transferring data between two SQL tables and I want to store the
number of rows successfully and those not transfered into 2 global
variables. How can i do this?




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.