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

email - PHP mail error ... failed to open stream : permission denied -

sql server - SQL Query - Delete duplicates if more than 3 dups? -

c# 3.0 - Issue with getting 2 chars from string using indexer -