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 -

c# - ListView onScroll event -

c - Linux mmap() error -