What is the Use of @@ROWCOUNT?
UPDATE authors SET au_lname = 'Jones'
Returns the number of rows affected by the Query.
Ex:
UPDATE authors SET au_lname = 'Jones'
WHERE au_id = '999-888-7777'
IF @@ROWCOUNT = 0
print 'Warning: No rows were updated'