此版本的 SQL 服务器不支持已弃用的功能 'DROP INDEX with two-part name'
Deprecated feature 'DROP INDEX with two-part name' is not supported in this version of SQL Server
我正在使用查询从 SQL Azure
中的 table 中删除索引器
Drop index [dbo].[Visulaization_UnitUserMapping].IX_Visulaization_UnitUserMapping_UnitUserId;
但我收到错误消息:此版本的 SQL 服务器不支持已弃用的功能 'DROP INDEX with two-part name'。
有没有其他方法可以在 SQL Azure
中完成此操作
您使用以下语法删除索引:
DROP INDEX IX_Visulaization_UnitUserMapping_UnitUserId
ON [dbo].[Visulaization_UnitUserMapping]
即
DROP INDEX IndexName
ON SchemaName.TableName
参考:DROP INDEX
我正在使用查询从 SQL Azure
中的 table 中删除索引器 Drop index [dbo].[Visulaization_UnitUserMapping].IX_Visulaization_UnitUserMapping_UnitUserId;
但我收到错误消息:此版本的 SQL 服务器不支持已弃用的功能 'DROP INDEX with two-part name'。
有没有其他方法可以在 SQL Azure
中完成此操作您使用以下语法删除索引:
DROP INDEX IX_Visulaization_UnitUserMapping_UnitUserId
ON [dbo].[Visulaization_UnitUserMapping]
即
DROP INDEX IndexName
ON SchemaName.TableName
参考:DROP INDEX