SSMS 17.9 在 SQL Server 2014 而不是 2016 上打开数据库

SSMS 17.9 opens database on SQL Server 2014 instead of 2016

我有 SQL Server 2014,我确实使用过它并且上面有一些数据库。

昨天我安装了 SQL Server Management Studio 17.9,当我打开它时,我只看到在 SQL Server 2014 (sql 12.0.2000.8) 上创建了相同的数据库。

但我想创建或恢复我在 SQL Server 2016 上创建的一些数据库,但我做不到。

我应该如何告诉 SSMS 17.9 使用此路径:

C:\Program Files\Microsoft SQL Server2016\MSSQL13.SQL2016SQL2016\MSSQL

这里我安装的是2016。

您创建了一个名为 SQL2016SQL2016 的实例。
因此,您必须将实例添加到连接 window 中的服务器名称,例如:

localhost\SQL2016SQL2016

An instance of the Database Engine is a copy of the sqlservr.exe executable that runs as an operating system service. Each instance manages several system databases and one or more user databases. Each computer can run multiple instances of the Database Engine. Applications connect to the instance in order to perform work in a database managed by the instance.

来源:Database Engine Instances