SQL Server 2016:更改数据仓库中的列顺序
SQL Server 2016: Change Column Order in Data Warehouse
SQL server 2016 中是否有任何选项可以在不创建临时 table 和 recreating/reinserting 整个 table 的情况下仍然更改列顺序? Link 以下是 2005 年的数据。
我们在数据仓库中有 5 亿行 table。我们想在中间插入一列。我们可以重新创建 table,或者为所有具有类似情况的 table 使用 300 多个视图。视图成为我们必须管理的另一个元数据表示层。希望 sql 服务器足够智能,可以像 Aurora 或 Postgresql.
一样更轻松地更改列顺序
How to change column order in a table using sql query in sql server 2005?
Is there any option in SQL server 2016 to change column order still, without creating a temp table, and recreating/reinserting whole table?
没有。 SQL 服务器中的列序号控制列的可见顺序 和 数据的物理布局。
SQL server 2016 中是否有任何选项可以在不创建临时 table 和 recreating/reinserting 整个 table 的情况下仍然更改列顺序? Link 以下是 2005 年的数据。
我们在数据仓库中有 5 亿行 table。我们想在中间插入一列。我们可以重新创建 table,或者为所有具有类似情况的 table 使用 300 多个视图。视图成为我们必须管理的另一个元数据表示层。希望 sql 服务器足够智能,可以像 Aurora 或 Postgresql.
一样更轻松地更改列顺序How to change column order in a table using sql query in sql server 2005?
Is there any option in SQL server 2016 to change column order still, without creating a temp table, and recreating/reinserting whole table?
没有。 SQL 服务器中的列序号控制列的可见顺序 和 数据的物理布局。