2
Reply

SQLBULKCOPY class - number of records copied

RS RS

RS RS

Jul 15 2008 7:03 AM
5k

Hi,

In one of the tasks, we are using sqlbulkcopy class of .net with three parameters - source db info, destination db info, query to be used to transfer data.

We are trying to see if we can get a count of the number of rows that are actually transmitted by the above command. Is there any way to do that? sqlbulkcopy class does not seem to have any attribute that would give this information. Is there any direct or indirect way?

Thanks in advance
sb

 

 


Answers (2)