SQL 服务器 bacpac 在最新更新中本地导入失败(在线索引操作只能在 SQL 服务器的企业版中执行)

SQL Server bacpac fails on local import in latest update (Online index operations can only be performed in Enterprise edition of SQL Server)

我有一个 SQL Azure 数据库并在 SQL Server Management Studio 中连接到它。我导出数据层应用程序,然后为 .bacpac 文件导入数据层应用程序,以将其放入我的 localdb。或者我使用任务 - 部署数据库。

无论哪种方式,直到最近它都运行正常,现在我收到错误

Online index operations can only be performed in Enterprise edition of SQL Server

我正在使用以下 SQL Server Management Studio 版本(来自帮助 - 关于)。有什么想法吗?

SQL Server Management Studio                    15.0.18369.0
SQL Server Management Objects (SMO)             16.100.46041.41
Microsoft Analysis Services Client Tools        15.0.19342.0
Microsoft Data Access Components (MDAC)         10.0.19041.1
Microsoft MSXML                                 3.0 6.0 
Microsoft .NET Framework                        4.0.30319.42000
Operating System                                10.0.19041

如果您可以升级到或使用 SQL Server 2019 Developer Edition 而不是使用 localdb,那么您就不会有任何问题。 Developer Edition 是免费的,并且具有与 Enterprise Edition 相同的功能。您可以从 here and then update it with the latest cumulative update from here 下载 Developer Edition,然后尝试将 bacpac 导入 Developer Edition 实例。

bug fixes in SSMS 18.9中:

Fixed in issue where importing a bacpac into SQL Express may fail. See SQL Server user feedback.

SSMS 18.8 的这个问题已得到产品团队的确认,但已得到修复:

I apologize for the inconvenience of this issue, we are working to include a fix in the next release of SSMS. In the meantime, installing SSMS 18.7.1 (https://docs.microsoft.com/sql/ssms/release-notes-ssms?view=sql-server-ver15#1871) will allow you to complete the bacpac import operations on SQL Server Express.

我今天又 运行 遇到了同样的问题。我将我们的数据库从 Azure 导出到 BACPAC,但在将 SSMS 加载到 SQL Express 时遇到了问题。

纯粹是运气,我发现 SSMS 18.9 今天发布了,似乎已经解决了我的问题。