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

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -