Código SQL:
Ver original@@rowcount :)
CREATE TABLE #temp
(
id INT
)
INSERT INTO #temp VALUES (1)
INSERT INTO #temp VALUES (2)
INSERT INTO #temp VALUES (3)
INSERT INTO #temp VALUES (4)
DECLARE @borrados INT
DELETE FROM #temp
SET @borrados=@@rowcount
print 'los borrados ' + CONVERT(VARCHAR(20),@borrados)
saludos!