How do I get the number of rows affected by a BULK INSERT on SQL Server? -
How do I get the number of rows affected by a bulk INSERT on SQL Server? (2008 if this is the case)?
Have you tried to check for @@ ROWCOUNT
?
(Note: You need to define a variable = @@ ROWCOUNT before executing another statement, otherwise its value will be reset)
Comments
Post a Comment