wstawiona liczba wierszy tsql

SELECT @@ROWCOUNT --number of rows affected by the last SQL statement
Cheerful Cassowary