Set Rowcount X
和
Select Top X * From Z
在Tsql?
http://technet.microsoft.com/en-us/library/ms189463.aspx