@@rowcount returns the number of rows affected by the last statement in Sybase. This is a system variable used to check the impact of INSERT, UPDATE, or DELETE operations. @@trancount tracks transactions, @@sqlstatus is for cursor status, and @@rescount does not exist.