TABLESAMPLE returns wrong number of rows?

后端 未结 4 1526
无人共我
无人共我 2020-12-17 20:18

I\'ve just discovered the TABLESAMPLE clause but surprisingly it doesn\'t return the number of rows i\'ve specified.

The table that i\'ve used has ~14M rows and i wa

4条回答
  •  不知归路
    2020-12-17 21:09

    See the article here. You need to add a top clause and/or use the repeatable option to get the number of rows you want.

提交回复
热议问题