Sorry SET ROWCOUNT=50 was a typo
I am trying SET ROWCOUNT 50 only
The different queries are
SELECT TOP(50) * from table order by TimeStamp ASC
Take a note of ID value of the 50 row
for me its - {E17FF1A4-45CA-4CD8-A309-0
the execute
SET ROWCOUNT 50
SELECT * from table order by TimeStamp ASC
Now look at the value of ID at the 50th row
for me its - {E295779E-4D6E-4801-8628-8
Main Topics
Browse All Topics





by: rrjegan17Posted on 2009-05-20 at 05:24:54ID: 24431010
If you dont have proper order by clause then there can be discrepancies.
But it should return same set of result set provided same set of order by clause.
And one more thing,
SET ROWCOUNT=50
Above is incorrect and it should be
SET ROWCOUNT 50
Kindly try this one and provide us sample result set to disprove it.