SQL Server table is sorted by default

前端 未结 2 1730
遥遥无期
遥遥无期 2021-01-14 13:45

I have simple SSIS package where I import data from flat file into SQL Server table (SQL Server 005). File contains 70k rows and table has no primary key. Importing is suces

2条回答
  •  有刺的猬
    2021-01-14 14:04

    In general no order is applied if there is no ordering in the select query.

    What I have noticed is that the table results might return in the order of the primary key, but this is not gaurenteed either.

    So all in all, if you do not specify a ordering, no ordering can be assumed.

提交回复
热议问题