Primary Key Sorting

后端 未结 7 668
醉话见心
醉话见心 2020-12-16 03:48

Is a table intrinsically sorted by it\'s primary key? If I have a table with the primary key on a BigInt identity column can I trust that queries will always return the dat

7条回答
  •  忘掉有多难
    2020-12-16 04:17

    Without an explicit ORDER BY, there is no default sort order. A very common question. As such, there is a canned answer:

    Without ORDER BY, there is no default sort order.

    Can you elaborate why "The performance difference is significant."?

提交回复
热议问题