Tables without a clustered index are not supported in this version of SQL Server

↘锁芯ラ 提交于 2019-12-03 04:43:34

You need to create a clustered index on all tables in SQL Azure that you wish to add rows to; otherwise the insert statement always fails.

CREATE UNIQUE CLUSTERED INDEX Idx_TableName ON TableName(yourGUIDColumn);

Here is a reference to the general guidelines and limitations specifically regarding these indexes: MSDN Link

Here is another article which explains the reasoning behind this: link

I found it easier to upgrade to v12.

I had to BACKUP (coz I'm smart like that!), then upgrade all my DB's (using the old console manage.windowszaure.com) from Web to Basic tier. Then follow instructions here to upgrade (https://azure.microsoft.com/en-us/documentation/articles/sql-database-v12-upgrade/)

Simply put:

  • Open portal.azure.com
  • Select Sqlserver
  • Operations
  • Latest SQL Database update

To monitor progress using azure powershell:

Add-AzureAccount
Switch-AzureMode -Name AzureResourceManager
Get-AzureSqlServer -ServerName '<<yoursqlservername>>' -ResourceGroupName '<<sqlserverresourcegroupname>>'
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!