SQL Interaction and @@ROWCOUNT

Is there any way when processing a SQL statement (SELECT, INSERT, UPDATE, DELETE) to retrieve the results of @@ROWCOUNT to establish how many rows were affected by the statement?