IDENTITY now supported in Azure SQL Data Warehouse

2017年6月26日

Azure SQL Data Warehouse now supports the IDENTITY property for the creation of surrogate keys.

IDENTITY is supported in the following contexts:

  • SELECT..INTO a table with pre-existing IDENTITY column
  • SET IDENTITY_INSERT
  • Loading data into tables with IDENTITY through PolyBase INSERT..SELECT or INSERT..VALUES and BCP
  • sys.identity_columns DMV

The following are currently not supported:

  • IDENTITY()
  • @@IDENTITY
  • SCOPE_IDENTITY
  • IDENT_CURRENT
  • IDENT_INCR
  • IDENT_SEED
  • DBCC CHECK_IDENT()

See the IDENTITY documentation page for more information.

免費帳戶

立即註冊並取得 $200 的 Azure 點數

開始免費使用

Visual Studio

訂閱者每年最多可取得價值達 $1800 的 Azure 服務

立即啟用

啟動

加入 BizSpark 方案並取得免費 Azure 服務

深入了解