June 19, 2009 at 3:03 am
Why do we use tablesample if it only gives approx number of rows.
What is the advantage of using tablesample instead of Top?
June 19, 2009 at 3:21 am
Table sample returns random set of rows. There is no guarantee for the number of records returned. It can be used for sampling
While top will give you the same set of records for each executes, provided the data is not changed
June 19, 2009 at 3:25 am
Thank you for ur reply joe, but i am still not clear.. What do u mean it can be used for sampling?? Could you provide me with some examples.
Many thanks.
June 19, 2009 at 3:30 am
Here is a good article I found when I goggled
June 19, 2009 at 3:51 am
Thank you Joe,
It does make sense after reading the article.
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply