ROWCOUNT & TOP
This will return 100 rows and easily you can come to a conclusion that ROWCOUNT will override TOP. Well, let us examine another scenario.
This will return only 5!!.
So the rule is,
SET ROWCOUNT overrides the SELECT statement TOP keyword if the ROWCOUNT is the smaller value.