What is the difference between
Set Rowcount X
And
Select Top X * From Z
in TSQL?
The main difference is that top will only effect the query you are running while set rowcount will persist with the connection and apply to all queries executed within that connection.
top
set rowcount