How do I get the number of rows affected by a BULK INSERT on SQL Server (2008 if that matters)?
+1
A:
Have you tried examining @@ROWCOUNT
?
(Note: you need to set a variable = @@ROWCOUNT before executing any other statement, otherwise its value will be reset)
Mitch Wheat
2009-07-24 09:13:25